This Streamlit app enables users to make stock predictions using the Prophet library. It provides an interactive interface for selecting a stock dataset, adjusting the prediction duration, and visualizing both raw and forecasted data.
-
Select Dataset for Prediction: Use the dropdown menu to choose a stock dataset from a predefined list.
-
Set Prediction Duration: Adjust the slider to specify the number of years for future predictions (between 1 and 10 years).
-
Loading Data: The app displays loading messages while the selected stock data is being loaded. Once completed, it confirms the loading process.
-
Raw Data Visualization: View the last rows of the loaded data and a plot of the raw data.
-
Forecasting Dataset: Prepare the dataset for forecasting using the Prophet library.
-
Create and Fit Prophet Model: Create a Prophet model and fit it with the training data.
-
Predict Future Data: Generate future dates and predict corresponding stock prices.
-
Display Forecast Results: View the last rows of the forecasted data and visualize forecast components.
pip install -r requirements.txt
Install the required dependencies using the provided requirements.txt file.
streamlit run your_app_name.py
Make sure to replace your_app_name.py
with the actual name of your Streamlit app file.
- π: Streamlit App
- π: Raw Data
- π°: Forecast Data
- π₯€: Forecast Components
- π: Loading Data
- π§: Loading Data Completed