How jack-cherish/machine-learning works
This repository is a collection of educational machine-learning examples, not a single application: users select an algorithm demo, provide or use its example data, and inspect a classification or regression result. README documents the major algorithm families and use cases; sampled sources confirm representative training, prediction, evaluation, and visualization behavior. Most examples are standalone, so the graph does not imply a shared runtime pipeline. Some README-listed capabilities, such as clustering, have no implementation path in the supplied tree and are omitted.
Main entry points: lego.py LEGO Pricing · regTrees.py Regression Tree · ROC.py ROC Evaluation · nbc.py News Classifier
Components 27
Classification
- kNN Demos
kNN - Dating kNN
kNN/2.海伦约会/kNN_test02.py - Digit kNN
kNN/3.数字识别/kNN_test03.py - Logistic Regression
Logistic/LogRegres.py - Stochastic Logistic
Logistic/LogRegres-gj.py - Colic Prediction
Logistic/colicLogRegres.py - Simple SMO
SVM/svm-simple.py - SMO SVM
SVM/svm-smo.py - Kernel SVM
SVM/svmMLiA.py - SVM Digits
SVM/svm-digits.py - Sklearn SVC
SVM/svm-svc.py
Regression
- Linear Regression
Regression/regression_old.py - Regression Methods
Regression/regression.py - Abalone Estimation
Regression/abalone.py - LEGO Pricing
Regression/lego.py
Tree Models
- Decision Tree
Decision Tree/Decision Tree.py - Lenses Tree
Decision Tree/Sklearn-Decision Tree.py - Regression Tree
Regression Trees/regTrees.py
Ensemble Models
- AdaBoost Training
AdaBoost/adaboost.py - Horse AdaBoost
AdaBoost/horse_adaboost.py - Sklearn AdaBoost
AdaBoost/sklearn_adaboost.py - ROC Evaluation
AdaBoost/ROC.py
Text Classification
- Bayes Filter
Naive Bayes/bayes.py - Spam Filter
Naive Bayes/bayes-modify.py - News Classifier
Naive Bayes/nbc.py
Other components
- Learner
- Model Result
Connections 28
- Learner → kNN Demos: explores
README.md - Learner → Decision Tree: explores
README.md - Learner → Lenses Tree: explores
README.md - Learner → Bayes Filter: explores
README.md - Learner → Spam Filter: explores
README.md - Learner → News Classifier: explores
README.md - Learner → Logistic Regression: explores
README.md - Learner → Stochastic Logistic: explores
README.md - Learner → Colic Prediction: explores
README.md - Learner → Simple SMO: explores
README.md - Learner → SMO SVM: explores
README.md - Learner → Kernel SVM: explores
README.md - Learner → SVM Digits: explores
README.md - Learner → Sklearn SVC: explores
README.md - Learner → AdaBoost Training: explores
README.md - Learner → Horse AdaBoost: explores
README.md - Learner → Sklearn AdaBoost: explores
README.md - Learner → ROC Evaluation: explores
README.md - Learner → Linear Regression: explores
README.md - Learner → Regression Methods: explores
README.md - Learner → Abalone Estimation: explores
README.md - Learner → LEGO Pricing: explores
README.md - Learner → Regression Tree: explores
README.md - Digit kNN → Model Result: classifies digits
kNN/3.数字识别/kNN_test03.py - News Classifier → Model Result: reports accuracy
Naive Bayes/nbc.py - LEGO Pricing → Model Result: estimates prices
Regression/lego.py - Regression Tree → Model Result: predicts values
Regression Trees/regTrees.py - ROC Evaluation → Model Result: plots ROC
AdaBoost/ROC.py