ardbramantyo / Ice-Cream-Revenue-Prediction

This project tries to make prediction on ice cream revenue based on one variable (outdoor temperature) with simple linear model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ice Cream Revenue Prediction

Overview

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.

image

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 ($)

image

image

Reference:

  1. https://seaborn.pydata.org/generated/seaborn.jointplot.html
  2. https://seaborn.pydata.org/generated/seaborn.pairplot.html
  3. https://seaborn.pydata.org/generated/seaborn.lmplot.html
  4. https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html
  5. https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html
  6. https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.scatter.html
  7. https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.plot.html

About

This project tries to make prediction on ice cream revenue based on one variable (outdoor temperature) with simple linear model


Languages

Language:Jupyter Notebook 100.0%