An introduction to machine learning
- Create a program that predicts the price of a car by using a linear function train with a gradient descent algorithm
- (Bonus) Plotting the data and predict line (linear regression) to see the trend of prediction
- (Bonus) Calculate the precision of the prediction
You need to install poetry with Python 3.8+
# Install poetry
curl -sSL https://install.python-poetry.org | python3 -
# Install package & create venv
poetry install
poetry run predict
poetry run train