This repository is a personal machine-learning study and implementation archive created mainly between 2018 and 2020. It combines theory notes, small Python implementations, and exploratory Jupyter notebooks. Maintenance resumed in 2026 with a deliberately incremental goal: make the material easier to navigate and reproduce without erasing the original Chinese explanations or handwritten development history.
Modernization status: the repository is not yet a uniformly runnable package. Some historical examples use APIs and notebook kernels from their original period. Updated documentation, compatibility patches, tests, and maintained examples are added topic by topic.
The first topic being modernized is:
- Bayesian Optimization
— an English tutorial, a complete Chinese learning path, imported
Albertsr/Optimizationhistory, and sanitized author notebook snapshots. - Optimization map — the boundary between numerical optimization and model-selection topics.
- Foundations of Machine Learning — a compact bilingual index for the foundations section.
Bayesian optimization appears under the foundations section because it joins probabilistic modeling with sequential decision-making. It is also cross-linked from model selection because expensive hyperparameter tuning is one of its most common machine-learning applications.
| Area | What you will find |
|---|---|
| 1. Data Exploration | Exploratory analysis notebooks |
| 2. Data Preprocessing | Scaling, encoding, missing values, and preprocessing |
| 3. Feature Engineering | Feature selection, extraction, and construction |
| 4. Classical Supervised Learning | Historical category; theory links remain in the Chinese README |
| 5. Ensemble Learning | Boosting, bagging, stacking, XGBoost, and LightGBM |
| 6. Cluster Analysis | Historical category; theory links remain in the Chinese README |
| 7. Model Evaluation | Cross-validation and evaluation metrics |
| 8. Model Persistence | joblib and pickle examples |
| 9. The Foundations of ML | Optimization, losses, and supporting theory |
The Chinese README remains the most complete index of the
historical repository. Existing Machine-Learning notebook names and
top-level paths are kept stable so old links and Git history remain useful.
- Historical material preserves the original learning path, Chinese comments, function names, notebook cells, and incremental commits.
- Maintained documentation explains the topic in current English and Chinese, clarifies important conceptual boundaries, and links to primary sources.
- Legacy folders retain attributable source evidence that should not be treated as the current recommended API.
- Maintained examples and tests are added only after behavior and provenance are understood; the project does not bulk-rewrite old code.
For the integration history and authorship boundaries, see ORIGIN.md. For known third-party material, see THIRD_PARTY_NOTICES.md.
The current priority is depth over breadth:
- finish the Bayesian Optimization vertical slice;
- derive small maintained examples from the author notebooks with targeted compatibility patches;
- add reproducibility checks before modernizing another topic;
- keep source attribution and historical commits reviewable.
Repository-wide formatting, mass translation, path renaming, and automatic rewrites are intentionally out of scope.
Original project material controlled by Ma Xiao and new original maintenance work are available under the MIT License. Third-party examples, excerpts, images, and datasets retain their own terms and are not relicensed by their presence in this repository.
Ma Xiao · Albertsr on GitHub