Decision Trees
SDSC Expanse Notebook: Decision_Trees
This README file provides instructions for Expanse users to run DecisionTrees notebooks in the Expanse.
Introduces the scikit-learn machine learning package, using a classic decision tree example.
Listof Content
Import Module:
- sklearn
- tree
- load_iris
- graphviz
Launch Galyleo
For specific information about launching Galyleo, please refer to this GitHub repository.
Environment Modules
By utilizing --env-modules, we can load any software installed in Expanse.
For instance, executing this command line will load CPU modules and Anaconda3 within the Jupyter session.
- CPU:
--env-modules cpu/0.17.3b,anaconda3galyleo launch --account abc123 --partition shared --cpus 2 --memory 4 --time-limit 00:30:00 --env-modules cpu/0.17.3b,anaconda3/2021.05
Install Modules
To run DecisionTrees notebooks, we do not need to install any additional packages.
Location
Decision_Trees
├── Decision trees.ipynb.ipynb
├── README.md
Submit Ticket
This notebook was tested on Expanse on 3/27/25.
If you find anything that needs to be changed, edited, or if you would like to provide feedback or contribute to the notebook, please submit a ticket by contacting us at:
Email: consult@sdsc.edu
We appreciate your input and will review your suggestions promptly!
Enjoy Reading This Article?
Here are some more articles you might like to read next: