How tony11montana/ml-on-c- works
ML is a small interactive C++ classifier. The user selects a digit and supplies training examples; the program combines those with built-in digit patterns, adjusts a shared weight vector until its threshold checks pass, then classifies entered test patterns and prints the result and weights. The README describes the goal as memory saving, but the available source shows no separate storage subsystem. The graph reflects the single sampled source file; no other runtime components or relationships are evidenced.
Main entry points: ML.cpp Program workflow
Components 6
Digit classification
- Training data
ML/ML.cpp - Weight learner
ML/ML.cpp - Threshold classifier
ML/ML.cpp - Weight vector
ML/ML.cpp
Interactive runtime
- Program workflow
ML/ML.cpp
Other components
- User
Connections 8
- User → Program workflow: enters inputs
ML/ML.cpp - Program workflow → Training data: builds examples
ML/ML.cpp - Program workflow → Weight learner: starts training
ML/ML.cpp - Weight learner → Training data: checks examples
ML/ML.cpp - Weight learner → Weight vector: updates weights
ML/ML.cpp - Program workflow → Threshold classifier: classifies inputs
ML/ML.cpp - Threshold classifier → Weight vector: reads weights
ML/ML.cpp - Threshold classifier → User: prints predictions
ML/ML.cpp