# Blog

Welcome to my blog. Here, I post texts about topics of my interest. The posts are dynamic: they might be modified in the future.

## Leveraging Generative AI for Effective Risk Management Part II: Actionable Strategies for Businesses

In today’s rapidly evolving business landscape, risk management is more critical than ever before. As industries grow increasingly complex and interconnected...

## Leveraging Generative AI for Effective Risk Management Part I: Introduction to Business Risk

In life, there are certainties like death and taxes, but there’s one more constant: risk. The COVID-19 pandemic starkly reminded us of this fact as we grappl...

## The Traveling Salesman Problem

The Traveling Salesman Problem (TSP), a captivating conundrum in mathematical optimization, has seamlessly integrated itself into a multitude of industries, ...

## Are Model Performance Metrics Enough?

My model has a “good enough” performance, is this sufficient for deployment? This post highlights the limitations of relying solely on performance metrics wh...

## Using a Cost Functional to Optimize Hyperparameters Using Cross Validation

This blog post discusses the importance of cost functions in mathematical optimization and how it applies to machine learning problems. The author argues tha...

## My RegEx Cheatsheet

In this post, I compile a cheatsheet of the main regexes that I use in my projects.

## Adding a Dark/Light Theme Switcher to Minimal Mistakes

This is how I found out how to add a switcher to toggle between light and dark modes of minimal mistakes theme.

## Optimization References

My list of reference materials containing for mathematical optimisation, based on Quora.

## Optimizing Marketing Campaigns Part 1: Clustering

In this series of posts, we analyze how to maximize the profit of marketing campaigns using mathematical optimization techniques. In the first part, we use o...

## Mixed Integer Programming

Mixed Integer Programming (MIP) are a form of optimization that is formulated using a combination of equations that are continous and discrete.

## Soft Maximum

In applications you often want to take the maximum of two numbers. But the simple function

## Plotting a weighted graph using networkx

In this blog post, I show how to plot a weighted graph using networkx.

<!DOCTYPE html>

## Using Hyperopt for Hyperparameter Tunning

In this post I show how to use hyperopt to tune hyperparameters of classifiers.

## Hypothesis Test Canvas

Based on the machine learning canvas, I wrote down a hypothesis test canvas to clarify what hypothesis we are testing, what data is employed and how the resu...

## Estimate Number of Observations Using Power Analysis

In this post I show how to calculate the necessary number of observations using statistical power analysis.

## A Digression on the Cantor Set

The Cantor set is a special type of set in mathematics. In this blog post, I will use it as an illustration of how my mind works, when I learning a new topic.

## Plotting a Four-Dimensional Heatmap

Here is show how I developed a four-dimensional heatmap.

## Pandas Value Counts

The value_counts() function in the popular python data science library Pandas is a quick way to count the unique values in a single column otherwise known as...

## Querying the Latest Record

In this gist, I show how to get the latest record or a user based on a datetime column.

## My Quick Reference Guide For A Few Natural Language Processing Techniques

Natural language processing (NLP) is a field of study dedicated to analyze of natural languages. In particular, using statistics and algorithms.

## Find Row Closest to a Value

In this gist, I find what is the closest row to a given value.

This gist contains my default settings for a Jupyter notebook as a header.

## Datetime Resample

In this gist, I calculate aggregate the datetime column according to different periods (e.g. day, week, and month)

## Cumulative Sum with Pandas

In this gist, I calculate the cumulative sum of the column no, based on the columns nameand day.

## Signing git commits with gpg

I found this post on how to sign commits with gpg on Medium, and I copied to my blog so I can keep for my records. Please, visit the original source at:

## Hypothesis Tests Part 2: Statistical Inference

In this post, I present an overview of statistical tests. The goal of calculating a test statistic is to decided if the null hypothesis is true. Once value o...