Views
No views yet
| Model | RMSE | MAE |
|---|---|---|
| Random Forest | 17.0825 | 13.3155 |
| Gradient Boosting | 12.4278 | 9.3175 |
| Linear Regression | 1.7886 | 1.3226 |
| LSTM | 36.6418 | 32.0159 |
solana_sklearn_models.pkl: Scikit-learn models (RF, GB, LR)solana_scaler.pkl: Feature scalersolana_lstm_model.h5: LSTM neural networksolana_metadata.json: Training metadata1from huggingface_hub import hf_hub_download
2import joblib
3from tensorflow.keras.models import load_model
4
5# Download models
6sklearn_path = hf_hub_download(
7 repo_id="YOUR_USERNAME/YOUR_REPO",
8 filename="solana_sklearn_models.pkl"
9)
10scaler_path = hf_hub_download(
11 repo_id="YOUR_USERNAME/YOUR_REPO",
12 filename="solana_scaler.pkl"
13)
14lstm_path = hf_hub_download(
15 repo_id="YOUR_USERNAME/YOUR_REPO",
16 filename="solana_lstm_model.h5"
17)
18
19# Load models
20models = joblib.load(sklearn_path)
21scaler = joblib.load(scaler_path)
22lstm = load_model(lstm_path)
23
24# Make predictions
25# (prepare your features first)
26predictions = models['RandomForest'].predict(scaled_features)