Skip to content

Instantly share code, notes, and snippets.

View MaxHalford's full-sized avatar

Max Halford MaxHalford

View GitHub Profile
@MaxHalford
MaxHalford / river_workshop.ipynb
Last active October 26, 2023 15:29
maxhalford.github.io/slides/online-machine-learning-on-the-road.pdf
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxHalford
MaxHalford / funnel.ipynb
Last active December 14, 2023 08:59
Decomposition without and with gaps
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxHalford
MaxHalford / emojis.ipynb
Created September 22, 2023 09:31
Analyzing Slack emoji usage
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxHalford
MaxHalford / constraints.txt
Last active September 1, 2023 16:22
Sports schedule planning
A friend of mine is a sports teacher teacher. He is organising a tournament, and gave me the following problem:
- 24 teams
- 12 sports
- Each sport takes place between 2 teams
- There are 12 time slots
- Each team needs to play each sports over the 12 time slots
- Ideally, each team should try to face every other team
This isn't possible, but there is a way to make each team play against 4 other teams over 3 sports.
@MaxHalford
MaxHalford / decomposition.ipynb
Created August 9, 2023 17:32
Metric decomposition
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxHalford
MaxHalford / analysis.ipynb
Created July 19, 2023 23:03
French names through time
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxHalford
MaxHalford / test_docs.py
Last active April 15, 2023 13:33
Interact with FastAPI TestClient using requests
from app.main import app
from app.db import engine, get_session
from fastapi.testclient import TestClient
import pytest
import requests
import sqlmodel
import sqlmodel.pool
@MaxHalford
MaxHalford / showdown.ipynb
Last active April 4, 2023 01:38
Online logistic regression: River/scikit-learn/Vowpal Wabbit/PyTorch
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxHalford
MaxHalford / ogd-in-sql.ipynb
Created March 7, 2023 12:32
Online gradient descent written in SQL
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxHalford
MaxHalford / horizon_bootstrap_method.ipynb
Created March 5, 2023 21:59
GoDaddy Microbusiness Density Forecasting Competition
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.