This project is a machine learning application that estimates the price of a pizza based on the diameter in centimeters. Using scikit-learn
and ``Streamlit`, it offers a user-friendly and intuitive interface to view price predictions in real time.
Diameter input
- Allows user to insert the diameter of the pizza in centimeters.Price Prediction
- Based on a linear regression model, the application estimates the price of the pizza and displays the estimated value.Intuitive Interface
- Developed withStreamlit
, the app has a simple and user-friendly interface for easy use.
- Python - Language used.
- Streamlit - Application interface.
- scikit-learn - Train the linear regression model.
- Pandas - Data manipulation.
- Clone the repository:
git clone https://github.com/felipeclarindo/pizza-price-predictor.git
- Enter directory:
cd pizza-price-predictor
- Create the
Virtual Environment
:
python -m venv .venv
-
Activate the
Virtual Environment
running file.bat
in.venv/Scripts/activate.bat
. -
Install dependencies:
pip install -r requirements.txt
- Run the application:
streamlit run app/main.py
- The application will be available at:
http://localhost:8501
- Steps for use:
- Enter the diameter of the pizza in centimeters.
- Click Calculate price to see the prediction.
Contributions are welcome! If you have suggestions for improvements, feel free to open an issue or submit a pull request.
Felipe Clarindo
This project is licensed under the GNU Affero License.