RSSAmplifier

Blog

MPN

Feed of long-form posts of MPN. Blog about technology, statistics, and other fun stuff.

mathpn.comRSS feed ↗21 posts

Latest posts

Building a linear regression MCP server

I wanted to learn more about MCP, so I've built an MCP server that adds regression analysis capabilities to AI models. Here, we'll discuss what is MCP, why I chose linear regression, how to test an MCP server, and some limitations I currently see regarding the protocol and its implementations.

llm-docsmith

How I built yet another AI docstring generator.

Climbing trees 3: from trees to forests

In this post, we'll explore the mathematical foundations and implementation of bagging, a popular strategy to reduce model variance, and random forests, an algorithm that uses decision trees and bagging.

Climbing trees 2: implementing decision trees

Implementing classification and regression trees (CART) in Python with categorical feature support.

Climbing trees 1: what are decision trees?

This is the first in a series of posts about decision trees in the context of machine learning. The goal here is to provide a foundational understanding of decision trees and to implement them.

Regression to the mean

Exploring regression to the mean

Different lists

Exploring the differences between lists in Go and Elixir

Como criptografar seu computador com LUKS e TPM + senha

Tutorial de como criptografar um disco com LUKS, TPM + senha no Linux

Como configurar e usar um cluster de Apache Spark em sua rede local

Tutorial de como transformar seu computador antigo em um servidor com Apache Spark e Apache Hadoop

Survival analysis with Cox reggression - heart failure data

Last time, we used decision trees, binarization and logistic regression to predict heart failure mortality in a public dataset. Here, we'll use Cox regression to more adequately model survival data.

The power of simple models: predicting heart failure mortality

We'll predict heart failure mortality using a simplified model.

O que NÃO É a eficácia de uma vacina

O que exatamente é a eficácia de uma vacina? Esse número se tornou muito popular, mas nem todas as interpretações sobre ele estão corretas.

What are NOT p-values?

What exactly is a p-value? Let's define the p-value and then look at what it is not.

Por que novas cloroquinas virão

Nós devemos focar em explicar por que terapias ineficazes podem parecer serem muito eficazes e mostrar os benefícios de ensaios clínicos de qualidade.

Why new hydroxichloroquines will come

We should focus on explaining why ineffective therapies can appear to be very effective and show the benefits of proper clinical trials.

The basics of outlier detection

This post is intended to explain the basics of outlier detection and removal and, more specifically, to highlight some common mistakes.

Twitter sentiment classification - Part 2

We'll use Recurrent Neural Networks to classify the Sentiment140 dataset into positive or negative tweets.

Twitter sentiment classification - Part 1

A sentiment classification project utilizing logistic regression on the Sentiment140 dataset.

Exploratory data analysis: the WHO suicide dataset

Exploratory data analysis is essential to construct hypothesis. Today we’ll explore the WHO Suicide Statistics database (version from Kaggle). It consists of a single CSV table, with 43776 instances of merely 6 variables.

Exploring Fractals With Pytorch

Let's use PyTorch to analyze 3D fractals by implementing the box-counting algorithm and calculate the fractal dimension and lacunarity of a given image.

Battleship Heuristics

Implementing an algorithm for playing Battleship that uses heuristics.