File size: 3,426 Bytes
b0e5ce2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# Streamlit Web App For Sales Prediction
# LP4 Embedding a machine learning model in a GUI
*short project description*
## Summary
| Code | Name | Published Article | Deployed App |
|-----------|-------------|:-------------:|------:|
| LP4 Embedding a machine learning model in a GUI|streamlit-web-app-for-sales-prediction| [Article]https://medium.com/@otchie.sonny/building-streamlit-web-app-for-sales-prediction-with-facebook-prophet-26c84ed8f625 | [Deployed App](http://localhost:8503) |
|
## Description
Favorita Stores Sales Prediction App
This web application allows users to predict sales for Favorita stores based on historical data using the Facebook Prophet machine learning model. Users can input a specific date, and the app will provide a sales prediction for that date.
Setup
Make sure you have Python installed on your system.
Clone this repository to your local machine.
Copy code
git clone <repository-url>
Navigate to the project directory.
Copy code
cd <project-directory>
Set up a virtual environment (optional but recommended).
Copy code
python -m venv myenv
Activate the virtual environment.
On Windows:
Copy code
myenv\Scripts\activate
On macOS and Linux:
Copy code
source myenv/bin/activate
Install the required packages.
Copy code
pip install -r requirements.txt
Usage
Run the Streamlit app.
Copy code
streamlit run sales_prediction_app.py
The app will start a local web server, and you can access it by opening the provided URL in your browser.
Once the app is loaded, you can select a specific date from the sidebar.
The app will then display the predicted sales for that date based on the historical data and the trained Prophet model.
Contributing
Contributions to this project are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
Favorita Stores Sales Prediction App
This web application allows users to predict sales for Favorita stores based on historical data using the Facebook Prophet machine learning model. Users can input a specific date, and the app will provide a sales prediction for that date.
Setup
Make sure you have Python installed on your system.
Clone this repository to your local machine.
Copy code
git clone <repository-url>
Navigate to the project directory.
Copy code
cd <project-directory>
Set up a virtual environment (optional but recommended).
Copy code
python -m venv myenv
Activate the virtual environment.
On Windows:
Copy code
myenv\Scripts\activate
On macOS and Linux:
Copy code
source myenv/bin/activate
Install the required packages.
Copy code
pip install -r requirements.txt
Usage
Run the Streamlit app.
Copy code
streamlit run sales_prediction_app.py
The app will start a local web server, and you can access it by opening the provided URL in your browser.
Once the app is loaded, you can select a specific date from the sidebar.
The app will then display the predicted sales for that date based on the historical data and the trained Prophet model.
Contributing
Contributions to this project are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
Feel free to customize the read.md file based on your specific project details and requirements.
Please make sure to update tests as appropriate. Contact me via my email: [email protected]
## Author
Sonny Agorvor-Otchie.
|