#python
25 posts
- Building the Same App Using Various Web Frameworks
FastAPI, FastHTML, Next.js, SvelteKit, and thoughts on how coding assistants influence builders' choices.
- Don't Mock Machine Learning Models In Unit Tests
How unit testing machine learning code differs from typical software practices
- Out-of-Domain Finetuning to Bootstrap Hallucination Detection
How to use open-source, permissive-use data and collect less labeled samples for our tasks.
- Uncommon Uses of Python in Commonly Used Libraries
Some off-the-beaten uses of Python learned from reading libraries.
- Design Patterns in Machine Learning Code and Systems
Understanding and spotting patterns to use code and components as intended.
- How to Install Google Scalable Nearest Neighbors (ScaNN) on Mac
Step-by-step walkthrough on the environment, compilers, and installation for ScaNN.
- Migrating Site Comments to Utterances
A step-by-step of how to migrate from json comments to Utterances.
- How to Test Machine Learning Code and Systems
Checking for correct implementation, expected learned behaviour, and satisfactory performance.
- Adding a Checkbox & Download Button to a FastAPI-HTML app
Updating our FastAPI app to let users select options and download results.
- How to Set Up a HTML App with FastAPI, Jinja, Forms & Templates
I couldn't find any guides on serving HTML with FastAPI, thus I wrote this to plug the hole on the internet.
- How to Update a GitHub Profile README Automatically
I wanted to add my recent writing to my GitHub Profile README but was too lazy to do manual updates.
- How to Set Up a Python Project For Automation and Collaboration
After this article, we'll have a workflow of tests and checks that run automatically with each git push.
- Simpler Experimentation with Jupyter, Papermill, and MLflow
Automate your experimentation workflow to minimize effort and iterate faster.
- Beating the Baseline Recommender with Graph & NLP in Pytorch
Beating the baseline using Graph & NLP techniques on PyTorch, AUC improvement of ~21% (Part 2 of 2).
- Building a Strong Baseline Recommender in PyTorch, on a Laptop
Building a baseline recsys based on data scraped off Amazon. Warning - Lots of charts! (Part 1 of 2).
- OMSCS CS7646 (Machine Learning for Trading) Review and Tips
OMSCS CS7646 (Machine Learning for Trading) - Don't sell your house to trade algorithmically.
- OMSCS CS6601 (Artificial Intelligence) Review and Tips
OMSCS CS6601 (Artificial Intelligence) - First, start with the simplest solution, and then add intelligence.
- OMSCS CS7642 (Reinforcement Learning) Review and Tips
OMSCS CS7642 (Reinforcement Learning) - Landing rockets (fun!) via deep Q-Learning (and its variants).
- OMSCS CS7641 (Machine Learning) Review and Tips
OMSCS CS7641 (Machine Learning) - Revisiting the fundamentals and learning new techniques.
- OMSCS CS6476 (Computer Vision) Review and Tips
OMSCS CS6476 Computer Vision - Performing computer vision tasks with ONLY numpy.
- Product Categorization API Part 3: Creating an API
Or how to put machine learning models into production.
- Image search is now live!
A web app to find similar products based on image.
- Product Classification API Part 2: Data Preparation
Cleaning up text and messing with ascii (urgh!)
- Image classification API is now live!
A simple web app to classify fashion images into Amazon categories.
- Product Classification API Part 1: Data Acquisition
Parsing json and formatting product titles and categories.