How tiepvupsu/ebookmlcb works
This repository is source code accompanying the Vietnamese ebook “Machine Learning cơ bản,” not a single integrated application. Its principal use is for a reader to explore chapter-organized examples that illustrate machine-learning methods and mathematical concepts. The examples cover supervised learning, neural networks, clustering, recommendation, dimensionality reduction, and optimization; many are standalone scripts. The README establishes the relationship to the ebook, but the sampled sources do not show a shared runtime or a single end-to-end data workflow.
Main entry points: python Probability examples · 3_linearregression Linear regression · kmeans_animation.py K-means clustering · 16_convexity Convexity examples
Components 17
Math and fundamentals
- Probability examples
Chapters/02_LinearAlgebra/30_prob/python - Gradient checks
ebookML_src/src/check_grad.py
Supervised learning
- Linear regression
Chapters/03_SimpleML/3_linearregression - Nearest neighbors
ebookML_src/src/multiclasssvm/cs231n/classifiers/k_nearest_neighbor.py - Logistic regression
ebookML_src/src/logistic_regression/log_reg.py
Neural networks
- Perceptron
Chapters/05_NeuralNetworks/09_perceptron - Softmax classification
ebookML_src/src/softmax_regression/mysoftmax.py - Multiclass models
ebookML_src/src/multiclasssvm/cs231n/classifiers - MLP and dropout
Chapters/05_NeuralNetworks/14_mlp
Unsupervised learning
- K-means clustering
ebookML_src/src/kmeans_animation.py - Network visualization
ebookML_src/src/kmeans/display_network.py - Matrix factorization
Chapters/06_RecommendationSystems/25_mf/python/mf.py - PCA visualization
Chapters/07_DimemsionalityReduction/28_pca2/python/display_network.py
Optimization
- Convexity examples
Chapters/08_ConvexOptimization/16_convexity - Convex optimization
Chapters/08_ConvexOptimization/17_convexopt - Convex duality
Chapters/08_ConvexOptimization/18_duality/python/dualfunc.py
Other components
- Ebook reader
Connections 4
- Ebook reader → Probability examples: explores examples
- Ebook reader → Linear regression: explores examples
- Ebook reader → K-means clustering: explores examples
- Ebook reader → Convexity examples: explores examples