Summary: In this project, you will implement your first machine learning algorithm.
- Prediction before training
python3 predict.py
- output
Type a Km to estimate price: 3421
Estimated price for km: 3421 is 0.
- Train
- It generates
model.csv
which contains optimized theta values
python3 train.py
- Prediction after training
python3 predict.py
- output
Type a Km to estimate price: 3421
Estimated price for km: 3421 is 8426.
- Evaluation
- Evaluate the model using
r2 score
python3 evaluate.py
- Visualization
python3 plot.py
Before Training | After Training |
---|---|