Optimize your data science workflow by automating matplotlib output — with 1 line of code. Here’s how. Naming things is hard. After a long enough day, we’ve all ended up with the highly-descriptive likes of “graph7(1)_FINAL(2).png” and “output.pdf" Look familiar? We can do better — and quite easily, actually. When we use data-oriented “seaborn-esque” plotting…
Days payable outstanding is one of several key accounts payable KPIs to track and acts as a stand-in for overall operational efficiency. At its core, the DPO helps business owners and analysts determine how effectively and efficiently a company balances cash flow and vendor relations while also acting as a proxy to determine how creditworthy…
If you run a daycare, you’ll probably end up going through a lot of baby wipes. Critical in caring for babies and young toddlers, baby wipes need to be replenished regularly, ensuring that your daycare center always has some on hand. If baby wipes run out, the babies will receive sub-standard care and staff members…
Image by johnstocker on Freepik
A while ago, I wrote a tutorial on writing efficient Python code. In it, I talked about using context managers and the with statement to manage resources efficiently.
I used a simple file handling example to show how files are automatically closed when the execution exits the with…
Learn how a neural network with one hidden layer using ReLU activation can represent any continuous nonlinear functions. Activation functions play an integral role in Neural Networks (NNs) since they introduce non-linearity and allow the network to learn more complex features and functions than just a linear regression. One of the most commonly used activation…
CFDI is an electronic invoicing (e-invoice) standard and related process required to conduct business in Mexico and Latin America. This article focuses on Mexico’s digital transformation program requiring CFDI-compliant electronic sales invoices instead of paper-based invoices in Mexico. What is CFDI? CFDI (Comprobante Fiscal Digital por Internet) is a government standard for conducting business in…
When working with time-series data it can be important to apply filtering to remove noise. This story shows how to implement a low-pass filter in SQL / BigQuery that can come in handy when improving ML features. Filtering of time-series data is one of the most useful preprocessing tools in Data Science. In reality, data…
Task-agnostic model pre-training is now the norm in Natural Language Processing, driven by the recent revolution in large language models (LLMs) like ChatGPT. These models showcase proficiency in tackling intricate reasoning tasks, adhering to instructions, and serving as the backbone for widely used AI assistants. Their success is attributed to a consistent enhancement in performance…
Where it stands out from other swarm algorithms This article is a continuation of my nature-inspired series. Previously, I talked about Evolutionary Algorithm (EA), Particle Swarm Optimization (PSO), as well as Artificial Bee Colony (ABC). Nature is everywhere, and there’s certainly more areas where humans can benefit by learning from nature. Today, we focus on…
Image by Author
You’re reading this because you’re thinking about joining the ranks of aspiring data scientists. And who can blame you? Data science is a growing field, even a decade after its now-infamous “sexiest job” accolade from the Harvard Business Review. The US Bureau of Labor Statistics currently predicts the employment rate…