This repository contains educational content and tools for performing machine learning (ML) modeling on soil organic carbon data. The goal is to provide an interactive learning experience for users to explore and apply various ML techniques in environmental data modeling, specifically focused on soil health metrics.
Visit our Cyber-Infraestructure here
Link to our public API of soil organic carbon model for CONUS here
The Soil Organic Carbon ML Lab is designed to help users learn how to:
The lab is equipped with various tools and educational resources that allow users to build predictive models and explore geospatial data related to soil properties.
pip
package managervenv
or conda
.To get started, clone this repository to your local machine:
git clone https://github.com/UW-Madison-DSI/soil_organic_carbon_ml_lab.git
cd soil_organic_carbon_ml_lab
Set up a virtual environment (recommended):
# For venv
python3 -m venv venv
source venv/bin/activate # On Windows, use 'venv\\Scripts\\activate'
# For conda
conda create --name soil_ml python=3.8
conda activate soil_ml
Install the required Python packages:
pip install -r requirements.txt
This repository includes several Jupyter notebooks that guide users through different stages of machine learning modeling for soil organic carbon data. To run the notebooks:
Then, open the notebook of your choice and follow the instructions within.
If the project includes a Streamlit-based web application, run the app with:
streamlit run app.py
This will launch a web interface for interacting with the soil organic carbon ML models.
The soil organic carbon data used in this project can be sourced from public datasets, as described here or can be loaded from your local directory.
Ensure that the data is structured correctly in the required format before running the models.
Contributions are welcome! Please follow these steps to contribute:
If you encounter any bugs or have questions, please open an issue in the repository.
This project is licensed under the MIT License.
For questions or inquiries, please contact: