This project aims to forecast the stock price of Bank Central Asia (BCA) using Artificial Neural Networks (ANN). The prediction is based on historical stock price data retrieved from Yahoo Finance.
- Source: Yahoo Finance
- Period: January 1, 2019 – May 1, 2025
- Features: Open, High, Low, Close, Volume, etc.
- The dataset was preprocessed and normalized before modeling.
- Python
- Pandas, NumPy
- scikit-learn
- TensorFlow / Keras (ANN model)
- Streamlit (for deployment)
- Data collection from Yahoo Finance
- Data preprocessing and normalization using Min-Max Scaling
- Model development using Artificial Neural Networks (ANN)
- Model evaluation using MAE, RMSE, and R² metrics
- Deployment using Streamlit for interactive user interface
- Mean Absolute Error (MAE): 0.4344
- Root Mean Squared Error (RMSE): 0.4969
- R² Score: 0.9841
The ANN model was able to achieve high accuracy in forecasting the BCA stock price. The strong R² score indicates that the model fits the data well.
- Clone this repository:
git clone https://github.com/jesselynmu/predict_bbca.git - Install required dependencies:
pip install -r requirements.txt - Run the Streamlit app:
streamlit run app.py
