Hishamot/Earth_Science_experiment
0
Random Forest Model Explorer
A Gradio-based web app for geochemical rock classification using a pre-trained Random Forest model.
๐ How to Run
pip install gradio pandas matplotlib scikit-learn joblib
python app.py๐ Input Data Format
Your CSV file must follow this format:
First Column โ Class Label
- Must be integer cluster/class IDs (e.g.,
0,1,2) - Used as ground-truth labels for evaluation
Required Feature Columns (24 total)
Rules
- Column names are case-sensitive
- No missing values (
NaN) allowed - Values must be numeric (raw, unscaled)
- The app applies MinMax scaling internally
Example Header
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
