Earthquake Magnitude Predictor

This is a Random Forest Regressor model for predicting earthquake magnitudes based on seismic features.

Model Details

  • Model type: RandomForestRegressor
  • Estimators: 1 (single tree)
  • Random State: 42
  • Test RMSE: 0.685 (update with actual value)

Intended Use

Predict earthquake magnitudes from seismic sensor data

Training Data

  • Split: 80% training, 20% testing
  • Random State: 10

Usage Example

from huggingface_hub import hf_hub_download
import joblib

# Download model
model_path = hf_hub_download(
    repo_id="leorigasaki54/earthquake-magnitude-predictor",
    filename="rf_earthquake_mag.joblib"
)

# Load model
model = joblib.load(model_path)

# Make prediction (example input)
import numpy as np
sample_input = np.array([[feature1, feature2, ...]])  # Update with actual features
prediction = model.predict(sample_input)
print(f"Predicted magnitude: {prediction[0]:.2f}")

Performance

  • RMSE: 0.685 (on test set)

Limitations

  • Trained on limited data (specify dataset if known)
  • Single-tree model may underfit complex patterns

Downloads last month
0
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using leorigasaki54/earthquake-magnitude-predictor 1