Flow Matching Part 3. Paths and Schedulers

Posted on Thu 30 January 2025 in posts • Tagged with Python, Machine Learning, Flow Matching • 2 min read

Extending our package with paths and schedulers.


Continue reading

Flow Matching Part 2. Solving ODEs with `tinygrad`

Posted on Mon 20 January 2025 in posts • Tagged with Python, Machine Learning, Flow Matching • 2 min read

Let's add some ODE solvers.


Continue reading

Implementing Flow Matching in TinyGrad

Posted on Fri 17 January 2025 in posts • Tagged with Python, Machine Learning, Flow Matching • 6 min read

Let's try and build flow matching package in tinygrad!


Continue reading

Overview and Summary of 'Diffusion Models are Evolutionary Algorithms' Paper

Posted on Tue 08 October 2024 in posts • Tagged with Python, Machine Learning • 2 min read

Introduction

Over time, I became interested in not simply reading the relevant research papers in my field, but also write their overviews. I believe that writing these will help me solidify information I learned in various papers.

This review begins what I hope to make a series of posts about …


Continue reading

Random Chord Length

Posted on Sat 25 March 2023 in posts • Tagged with Probability, Python • 2 min read

Here is a question: pick two points on a circle of radius \(r\) independently uniformly at random.

What is the average distance between these two points?

Analysis

Let's to analyze this question using probabilistic mathematical reasoning before doing simulations.

Sampling points on a circle

To sample a point \(P=(X …


Continue reading

Simulating Textbook Probability Problems in Julia

Posted on Mon 07 February 2022 in posts • Tagged with Julia, Probability, Simulation • 3 min read

Introduction

I am fascinated by the concept of Monte-Carlo simulation: you can, in principle, simulate random events and see how these simulations differ from reality (on a small scale, at least!)

Here I would like to show a couple of simple probability theory textbook problems and my attempt at simulating …


Continue reading

Installing Julia

Posted on Sun 06 February 2022 in posts • Tagged with Julia • 1 min read

Introduction

In this quick tutorial, I will share how to install Julia language on a Mac computer, setup symlinks to run it from command line and then will go through a couple of problems in probability and their Julia language simulations.

Installing Julia on macos

We are going to install …


Continue reading

Parameter identifiability in Julia

Posted on Mon 06 December 2021 in posts • Tagged with Julia, Parameter Identifiability • 4 min read

In this post I will present a tutorial on a Julia package called StructuralIdentifiability.jl which I help maintain and contribute to. In the next post I will present a similar introduction to another package I help develop called SIAN.jl, but that's for another time.

This tutorial will be …


Continue reading

Google Summer of Code. Final Results

Posted on Tue 17 August 2021 in posts • Tagged with Julia, GSoC • 2 min read

GitHub release GitHub stars

Over the course of the summer, my work resulted in successfully ported code of StructuralIdentifiability.jl, a package that can help researchers who use ordinary differential equations in their work. The package allows answering queries about individual identifiability of parameters and their combinations.

The StructuralIdentifiability.jl package is ready to …


Continue reading

First Month In GSoC

Posted on Sun 25 July 2021 in posts • Tagged with Julia, GSoC • 1 min read

Project Updates

We slightly churned our project idea from the original algorithm implementation into an inclusion of a StructuralIdentifiability.jl package develop by my colleague Gleb Pogudin. The package is currently part of SciML with more updates to come!

Here is a list of things it can do:

  • check local …

Continue reading