Python Setup for Machine Learning: venv, uv, Jupyter and a First Check
A reproducible Python setup for machine learning: the right interpreter, an isolated environment, pinned packages and a script that proves it works.
A reproducible Python setup for machine learning: the right interpreter, an isolated environment, pinned packages and a script that proves it works.
Supervised learning uses labels, unsupervised finds structure and reinforcement learns from rewards. See how each works, measured on one dataset.
Machine learning means a program learns its rules from examples. Learn the three types, the five-step workflow, and train a first model in Python.
Every MYCPLUS machine learning article follows one testing protocol. It covers fixed splits and seeds, honest baselines, library cross-checks and mutation tests.
Grow a CART decision tree in Python, see Gini and entropy disagree, choose the depth honestly and run the trained tree in C++ at 16 ns per row.
Build k-nearest neighbors in Python and C++, see why one unscaled feature ruins it, choose k honestly and compare five implementations for speed.
Build logistic regression two ways in NumPy, match scikit-learn, pick a decision threshold properly and see why separable data needs regularization.
Derive linear regression, build it in NumPy two ways, match scikit-learn to 1e-13 and see why gradient descent needs scaled features, with data.
A complete bank management system project in C with source code: accounts, transfers and interest, kept in a ledger the program checks on every start.
Fifteen C projects from a unit converter to a text editor, each one file, standard library only, with the key functions explained step by step.
Shrink a smooth 65,536-color gradient into a LibGD palette image and 256 colors survive. Shrink the same gradient into a
Ten defensive programming techniques in C, from input validation and error codes to assert, bounds checks and sanitizers, each with tested code.