As an owner of an ice cream business, I want to create a model that could predict the daily revenue based on the outside temperature.
Based on the graph above, a linear regression model is a good choice to solve the problem.
The dataset itself, consist of 500+ data sample and 2 fields:
- Independent var (X): outside air temperature (deg C)
- Dependent var (Y): Overall daily revenue ($)
- https://seaborn.pydata.org/generated/seaborn.jointplot.html
- https://seaborn.pydata.org/generated/seaborn.pairplot.html
- https://seaborn.pydata.org/generated/seaborn.lmplot.html
- https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html
- https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html
- https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.scatter.html
- https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.plot.html