| | --- |
| | language: en |
| | tags: |
| | - cryptocurrency |
| | - litecoin |
| | - price-prediction |
| | - machine-learning |
| | - time-series |
| | license: mit |
| | --- |
| | |
| | # Litecoin (LTC) Price Prediction Models |
| |
|
| | Trained ML models for predicting Litecoin (LTC) cryptocurrency prices. |
| |
|
| | ## π Model Performance |
| |
|
| | | Model | RMSE | MAE | |
| | |-------|------|-----| |
| | | Random Forest | 2.8486 | 1.5753 | |
| | | Gradient Boosting | 2.8719 | 1.8564 | |
| | | Linear Regression | 0.5089 | 0.3495 | |
| | | LSTM | 8.5453 | 7.3874 | |
| |
|
| | ## π― Training Details |
| |
|
| | - **Trained on**: 2025-10-24 07:47:36 |
| | - **Data Source**: CoinGecko API |
| | - **Historical Days**: 365 |
| | - **Features**: 23 technical indicators |
| | - **GPU**: Accelerated with TensorFlow |
| |
|
| | ## π¦ Files Included |
| |
|
| | - `litecoin_sklearn_models.pkl`: Scikit-learn models (RF, GB, LR) |
| | - `litecoin_scaler.pkl`: Feature scaler |
| | - `litecoin_lstm_model.h5`: LSTM neural network |
| | - `litecoin_metadata.json`: Training metadata |
| |
|
| | ## π Usage |
| |
|
| | ```python |
| | from huggingface_hub import hf_hub_download |
| | import joblib |
| | from tensorflow.keras.models import load_model |
| | |
| | # Download models |
| | sklearn_path = hf_hub_download( |
| | repo_id="YOUR_USERNAME/YOUR_REPO", |
| | filename="litecoin_sklearn_models.pkl" |
| | ) |
| | scaler_path = hf_hub_download( |
| | repo_id="YOUR_USERNAME/YOUR_REPO", |
| | filename="litecoin_scaler.pkl" |
| | ) |
| | lstm_path = hf_hub_download( |
| | repo_id="YOUR_USERNAME/YOUR_REPO", |
| | filename="litecoin_lstm_model.h5" |
| | ) |
| | |
| | # Load models |
| | models = joblib.load(sklearn_path) |
| | scaler = joblib.load(scaler_path) |
| | lstm = load_model(lstm_path) |
| | |
| | # Make predictions |
| | # (prepare your features first) |
| | predictions = models['RandomForest'].predict(scaled_features) |
| | ``` |
| |
|
| | ## π Features |
| |
|
| | The models use 23 technical indicators including: |
| | - Moving Averages (SMA 7, 25, 99) |
| | - Exponential Moving Averages (EMA 12, 26) |
| | - RSI (Relative Strength Index) |
| | - MACD & Signal Line |
| | - Bollinger Bands |
| | - Stochastic Oscillator |
| | - Volatility measures |
| | - Lag features |
| |
|
| | ## β οΈ Disclaimer |
| |
|
| | These models are for educational and research purposes only. Cryptocurrency markets are highly volatile and unpredictable. Do not use these predictions for actual trading decisions without proper risk management. |
| |
|
| | ## π License |
| |
|
| | MIT License |
| |
|