# Tag: python

> Posts and talks on Python.

- URL: https://eugeneyan.com/tag/python
- Index of the whole site: https://eugeneyan.com/llms.txt

- [Building the Same App Using Various Web Frameworks](https://eugeneyan.com/writing/web-frameworks.md) (2024-09-08): FastAPI, FastHTML, Next.js, SvelteKit, and thoughts on how coding assistants influence builders' choices.
- [Don't Mock Machine Learning Models In Unit Tests](https://eugeneyan.com/writing/unit-testing-ml.md) (2024-02-25): How unit testing machine learning code differs from typical software practices
- [Out-of-Domain Finetuning to Bootstrap Hallucination Detection](https://eugeneyan.com/writing/finetuning.md) (2023-11-05): How to use open-source, permissive-use data and collect less labeled samples for our tasks.
- [Uncommon Uses of Python in Commonly Used Libraries](https://eugeneyan.com/writing/uncommon-python.md) (2022-07-31): Some off-the-beaten uses of Python learned from reading libraries.
- [Design Patterns in Machine Learning Code and Systems](https://eugeneyan.com/writing/design-patterns.md) (2022-06-12): Understanding and spotting patterns to use code and components as intended.
- [How to Install Google Scalable Nearest Neighbors (ScaNN) on Mac](https://eugeneyan.com/writing/how-to-install-scann-on-mac.md) (2020-10-14): Step-by-step walkthrough on the environment, compilers, and installation for ScaNN.
- [Migrating Site Comments to Utterances](https://eugeneyan.com/writing/migrating-to-utterances.md) (2020-09-07): A step-by-step of how to migrate from json comments to Utterances.
- [How to Test Machine Learning Code and Systems](https://eugeneyan.com/writing/testing-ml.md) (2020-09-06): Checking for correct implementation, expected learned behaviour, and satisfactory performance.
- [Adding a Checkbox & Download Button to a FastAPI-HTML app](https://eugeneyan.com/writing/fastapi-html-checkbox-download.md) (2020-08-05): Updating our FastAPI app to let users select options and download results.
- [How to Set Up a HTML App with FastAPI, Jinja, Forms & Templates](https://eugeneyan.com/writing/how-to-set-up-html-app-with-fastapi-jinja-forms-templates.md) (2020-07-23): 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](https://eugeneyan.com/writing/how-to-update-github-profile-readme-automatically.md) (2020-07-11): 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](https://eugeneyan.com/writing/setting-up-python-project-for-automation-and-collaboration.md) (2020-06-21): 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](https://eugeneyan.com/writing/experimentation-workflow-with-jupyter-papermill-mlflow.md) (2020-03-15): Automate your experimentation workflow to minimize effort and iterate faster.
- [Beating the Baseline Recommender with Graph & NLP in Pytorch](https://eugeneyan.com/writing/recommender-systems-graph-and-nlp-pytorch.md) (2020-01-13): 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](https://eugeneyan.com/writing/recommender-systems-baseline-pytorch.md) (2020-01-06): 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](https://eugeneyan.com/writing/omscs-cs7646-machine-learning-for-trading.md) (2019-05-11): OMSCS CS7646 (Machine Learning for Trading) - Don't sell your house to trade algorithmically.
- [OMSCS CS6601 (Artificial Intelligence) Review and Tips](https://eugeneyan.com/writing/omscs-cs6601-artificial-intelligence.md) (2018-12-20): OMSCS CS6601 (Artificial Intelligence) - First, start with the simplest solution, and then add intelligence.
- [OMSCS CS7642 (Reinforcement Learning) Review and Tips](https://eugeneyan.com/writing/omscs-cs7642-reinforcement-learning.md) (2018-07-30): OMSCS CS7642 (Reinforcement Learning) - Landing rockets (fun!) via deep Q-Learning (and its variants).
- [OMSCS CS7641 (Machine Learning) Review and Tips](https://eugeneyan.com/writing/omscs-cs7641-machine-learning.md) (2017-12-27): OMSCS CS7641 (Machine Learning) - Revisiting the fundamentals and learning new techniques.
- [OMSCS CS6476 (Computer Vision) Review and Tips](https://eugeneyan.com/writing/omscs-cs6476-computer-vision.md) (2017-05-15): OMSCS CS6476 Computer Vision - Performing computer vision tasks with ONLY numpy.
- [Product Categorization API Part 3: Creating an API](https://eugeneyan.com/writing/product-categorization-api-part-3-creating-an-api.md) (2017-02-13): Or how to put machine learning models into production.
- [Image search is now live!](https://eugeneyan.com/writing/image-search-is-now-live.md) (2017-01-14): A web app to find similar products based on image.
- [Product Classification API Part 2: Data Preparation](https://eugeneyan.com/writing/product-categorization-api-part-2-data-preparation.md) (2016-12-11): Cleaning up text and messing with ascii (urgh!)
- [Image classification API is now live!](https://eugeneyan.com/writing/image-categorization-is-now-live.md) (2016-11-27): A simple web app to classify fashion images into Amazon categories.
- [Product Classification API Part 1: Data Acquisition](https://eugeneyan.com/writing/product-categorization-api-part-1-data-acquisition-and-formatting.md) (2016-10-11): Parsing json and formatting product titles and categories.
