Tech
In-depth technical explorations and code deep-dives.
-
Implementing Alternating Least Squares (ALS) from Scratch in Python
A deep dive into building ALS for recommendation systems in Python. Includes the full derivation, a vectorized implementation, and an analysis of its real-world performance limits.
-
Closures and Partial Function Application in Python: A NLP Use Case
This article explores closures and partial function application in Python, demonstrating how these powerful concepts can simplify state management and encapsulation. Through practical examples from NLP pipelines, including SpaCy and skweak, you'll learn common pitfalls, effective solutions, and best practices to write cleaner, more maintainable Python code.
Stay in the Loop
Get notified when I publish new writing. This block follows the Tech stream.