Python
110 posts
HashingEncoder: Tackling Extreme Cardinality with the Hashing Trick
Explore HashingEncoder: learn how it handles extreme cardinality, its mechanism, ideal use cases, and implementation with the category_encoders library.
BinaryEncoder: The Space-Efficient Alternative to One-Hot Encoding
Explore the BinaryEncoder from category_encoders: a space-efficient alternative to one-hot encoding. Learn how it works, when to use it, and see implementation.
OrdinalEncoder: When Order Matters in Categorical Data
Explore OrdinalEncoder for categorical data where order matters. Learn how it works, its benefits, and implementation using the category_encoders library.
Makefiles: The Unsung Hero of Python Development
Explore why Makefiles, though old-school, are invaluable for Python projects. Learn how they provide consistent, simple shortcuts for common dev tasks.
Modern Python Package Publishing: PyGeoHash's New CI/CD Pipeline
PyGeoHash uses GitHub Actions, cibuildwheel, and PyPI's Trusted Publisher for automated, secure multi-platform Python package builds and publishing.
PyGeoHash Gets Type Hints: A Journey into Modern Python
Enhance PyGeoHash with comprehensive type hints and a new types module, improving developer experience and code quality for modern Python.
Optimal Bankroll Management with Keeks: The Kelly Criterion
Dive into the Kelly Criterion, the foundation of optimal betting and bankroll management. Learn its theory, pros, cons, and implementation with Keeks.
Documenting Your Library's API: Best Practices
Build a clear, comprehensive API reference with Sphinx & autodoc. Learn best practices for structure, content, cross-referencing your Python library docs.
OneHotEncoder: The Workhorse of Categorical Encoding
A comprehensive guide to OneHotEncoder in category_encoders, exploring its core functionality, advantages, and practical limitations in machine learning.
Elo Rating System: The Grandfather of Competitive Rankings
Deep dive into the Elo rating system: history, the math behind it (K-factor, expected score), and practical implementation with the Elote Python library.