Home

Selected posts:

ReAct REPL Agent

ReAct Loop Logo

Project exploring a GPT-Based ReAct Agent with access to a Python REPL and access to method retrieval. The agent can execute simple workflows by chaining API calls.

Implement a simple ReAct Agent using OpenAI

ReAct Loop Logo

Simple example of using OpenAI Function Calling in a ReAct Loop to answer multistep questions.

Implementing Gaussian processes

RNN image

Blog series exploring Gaussian processes. Starts with building up an understanding of Gaussian processes by implementing them from scratch in Python. Then goes to a practical example illustrating how to use a Gaussian process on a real-world problem using TensorFlow probability.

Multi-armed bandit implementation

Multi-armed-bandit image

Learn the basics of Bayesian multi-armed bandit models while implementing a simple example in Python.

How to implement a neural network and RNN

First, Learn the basics of neural networks and how to implement them from scratch in Python. The tutorial starts with explaining gradient descent on the most basic models and goes along to explain hidden layers with non-linearities, backpropagation, and momentum. The math is explained along the way together with Python code examples.

The second part implements a recurrent neural network (RNN) in Python with the help of NumPy. The tutorial explains the basics of backpropagation-through-time and discusses some of the difficulties of training recurrent networks.

Regression quattro stagioni

RNN image

Linear regression parameter estimation implemented in four different ways: simple linear regression, ordinary least squares (OLS), gradient descent, and markov chain monte carlo (MCMC).

More posts by tag:

Notebook (16) Machine Learning (12) Neural Networks (9) NumPy (8) Gradient Descent (6) Classification (5) Backpropagation (4) Probability (3) Logistic Regression (3) Kernel (3) Gaussian Process (3) Cross-Entropy (3) Sequential Data (2) Recurrent Neural Network (RNN) (2) ReAct Loop (2) Nonlinearity (2) Linear Regression (2) LLM (2) Jekyll (2) GitHub Pages (2) Gaussian Distribution (2) Blog (2) Agents (2) Vectorization (1) TensorFlow (1) Softmax (1) Sampling (1) Radial Basis Function (RBF) (1) RProp (1) RMSProp (1) OpenAI (1) Nesterov momentum (1) Multi-Armed Bandit (MAB) (1) Momentum (1) Metropolis-Hastings (1) MCMC (1) Logistic Function (1) Liquid Templating (1) Least Squares (1) Gradient checking (1) Beta Distribution (1) A/B-testing (1)