Tag: Python
Posts related to or involving the Python programming language.
-
Experiment Configuration Files
30 Sep 2023
Labbooks are for desk people too. -
Trying out something new: FastAPI
21 Aug 2023
I've used Rust's Rocket.rs library for building web APIs, but wanted something pythonier: FastAPI. Some teething trouble at first, but on the whole going well so far! -
Assembly is WILD
09 Aug 2023
The power afforded by assembly is astounding; the skill required to wield it properly moreso. This is a tale of GameBoys, CPU emulation, and learning assembly. -
GAMIFY YOUR ANNOTATION
09 Feb 2023
Annotating images is time consuming and boring. Maybe there's a better way... -
Redactor 📄❌👀
22 Aug 2022
Do you need to redact info from an image? Just use paint, right? What if you need to redact hundreds of images? Let's automate that... -
Digging into Multi-Factor Authentication
07 Jun 2022
MFA apps use RFC-defined algorithms - let's figure out how they work and implement our own version. -
Function Optimisation Using PyTorch
26 May 2022
PyTorch is a great tool for machine learning. Can we use this fancy electric screwdriver to hammer a nail? -
Numba is crazy awesome
17 Feb 2022
JIT-compiled python can be incredibly fast. Who says Python can't be performant? -
MVP - ML Visualised using Python
08 Feb 2022
Script to visualise structure of ML model, aiding in design. -
Metrics in Pytorch
28 May 2021
Metrics are used in machine learning to gauge how well a model is performing; in this post I discuss some of the terminology and how to calculate the metrics using `Pytorch`/`torchmetrics` and displayed using the excellent `tensorboard`. -
Image Segmentation and Machine Learning
13 May 2021
Working with real data when segmenting images -
Python's stretchy integers.
09 Jan 2020
One of the awesome things about Python are the indefinitely sized numbers (Long and Decimal) which allow arbitrary precision in calculation. In this post I explore Python's Long implementation, and I write a simple "Big Integer" inC++
.