Amir ZiaiAn impact assessment framework for human-in-the-loop algo projectsThis post presents a framework for assessing the impact of human-in-the-loop project, in addition to adoption pitfalls and some…6 min read·Feb 6, 2024----
Amir ZiaiLoad balancing for Data Parallel Actor-based systemsWe explore ways to dynamically load balance actors in a streaming framework.5 min read·Jan 3, 2024----
Amir ZiaiRetrieval-Augmented Few-shot Image Classification (RAFIC)A method for augmenting support images for few-shot image classification with additional retrieved images, with yields sig improvement.3 min read·Dec 30, 2023----
Amir ZiaiRanking metrics from first principles: Average PrecisionHaven’t read part 1 yet? Ranking metrics from first principles lays down some of the required foundations that you may find useful when…23 min read·Sep 20, 2023----
Amir ZiaiA semi-random collection of advice that I’ve found very useful as an ML engineer1- Own things e2e 2- engg best practices 3- metrics! 4- problem formulation 5- bulletproof eval code 6- earn your complexity2 min read·Sep 12, 2023----
Amir ZiaiReservoir samplingSample a large data stream with optimal storage and minimal compute.4 min read·May 16, 2023----
Amir ZiaiCount-min sketchNeed to count elements in an unbounded data stream using bounded memory? May want to consider count-min sketch.5 min read·Apr 12, 2023----
Amir ZiaiRanking metrics from first principlesRanking metrics are not very well understood. Some of them are actually unintuitive, which makes them prone to misinterpretation.10 min read·Mar 31, 2023----
Amir ZiaiConsistent hashing from first principles- Part 2(I’ve tried to minimize code clutter, so the code presented in the post is not self contained. If you want to run the code as you read, I…12 min read·Sep 26, 2022----
Amir ZiaiConsistent hashing from first principles - Part 1I find it useful to implement concepts from scratch before looking up a proper implementation. This approach has the benefit of helping me…13 min read·Aug 29, 2022----