This project demonstrates a Bitcoin price prediction model using Python and Jupyter Notebook.
The goal was to analyze historical price data and build a model capable of predicting future Bitcoin prices using machine learning techniques.
It combines data preprocessing, feature engineering, and model training into a coherent notebook-based workflow.
Key focus areas include trend analysis, model selection, and prediction accuracy.
bitcoin-prediction.ipynb
β Main notebook with all code, analysis, and results
- Python 3.x
- Jupyter Notebook
- XGBoost
- Pandas / NumPy β Data handling and preprocessing
- Matplotlib / Seaborn β Visualization
- scikit-learn β Model building and evaluation
- Datetime tools β Time-series alignment and transformation
The notebook walks through the following steps:
- Load and clean historical Bitcoin price data
- Visualize trends, volatility, and correlations
- Engineer relevant features (e.g., moving averages, lags)
- Train a regression model (e.g., Linear Regression, Random Forest, etc.)
- Evaluate prediction accuracy on test data
- Plot actual vs. predicted prices
Install required Python packages via pip:
pip install pandas numpy matplotlib scikit-learn jupyter
-
Launch Jupyter:
jupyter notebook
-
Open
bitcoin-prediction.ipynb
-
Run the notebook cells in order
The implementation is complete, but the prediction output does not work as intended.
It can be extended with more advanced models (e.g., LSTM, Prophet) or real-time data integration.
This project is licensed under the MIT License β see the LICENSE file for details.