How alperenndemirbas/gold-price-regression works
This is a small gold-price regression application. Its main workflow loads the example financial dataset, preprocesses and scales it, selects features, trains and evaluates a regression model, then saves the model and scaler for optional prediction on new data. The README documents these capabilities; the graph uses the shown code for call and data-flow evidence.
Main entry points: predict.py Prediction entry · main.py Training entry · train.py Data loading
Components 12
Model training
- Training entry
src/main.py - Financial dataset
- Data loading
src/train.py - Preprocessing
src/train.py - Feature scaling
src/train.py - Feature selection
src/train.py - Model training
src/train.py - Saved model and scaler
Prediction
- Prediction entry
src/predict.py - New input data
- Price prediction
src/predict.py
Other components
- User
Connections 15
- User → Training entry: runs
README.md - Training entry → Data loading: loads
src/main.py - Financial dataset → Data loading: read by
src/train.py - Training entry → Preprocessing: preprocesses
src/main.py - Training entry → Feature scaling: scales
src/main.py - Training entry → Feature selection: selects features
src/main.py - Training entry → Model training: trains
src/main.py - Model training → Saved model and scaler: saves
src/train.py - User → Prediction entry: runs
README.md - New input data → Prediction entry: supplies
src/predict.py - Saved model and scaler → Prediction entry: loads
src/predict.py - Prediction entry → Data loading: loads data
src/predict.py - Prediction entry → Preprocessing: preprocesses
src/predict.py - Prediction entry → Feature scaling: scales features
src/predict.py - Prediction entry → Price prediction: predicts
src/predict.py