How guru21207/sct_ml_1 works
This repository is a small house-price prediction workflow. A user trains a linear-regression model from the Kaggle training data; the training script also evaluates and visualizes its predictions before saving the model. A separate prediction script loads that saved model and Kaggle test data, then writes a submission CSV. The README documents both stages. The graph keeps evaluation with training because it is implemented in the same script; no separate serving or preprocessing subsystem is evident.
Main entry points: predict_model.py Generate predictions · train_model.py Train and evaluate · house_price_model.pkl Trained model · train.csv Training dataset
Components 7
Training and evaluation
- Train and evaluate
src/train_model.py
Data and artifacts
- Training dataset
dataset/train.csv - Trained model
model/house_price_model.pkl - Kaggle test dataset
dataset/test.csv - Prediction submission
submission.csv
Prediction
- Generate predictions
src/predict_model.py
Other components
- Workflow user
Connections 7
- Workflow user → Train and evaluate: runs training
README.md - Train and evaluate → Training dataset: reads
src/train_model.py - Train and evaluate → Trained model: saves model
src/train_model.py - Workflow user → Generate predictions: runs prediction
README.md - Generate predictions → Trained model: loads model
src/predict_model.py - Generate predictions → Kaggle test dataset: reads
src/predict_model.py - Generate predictions → Prediction submission: writes predictions
src/predict_model.py