This lesson is still being designed and assembled (Pre-Alpha version)

2. ChemML: Capabilities Tour and End-to-End Workflow

Overview

Teaching: min
Exercises: min
Questions
  • What capabilities does ChemML provide across data, representation, modeling, optimization, and explainability?

  • How can I practice ChemML tools through guided exercises?

  • How do I run a full end-to-end workflow from data to AutoML comparison?

  • How do I summarize model performance clearly and reproducibly?

Objectives
  • Use ChemML notebooks to explore core capabilities

  • Complete a capability-focused hands-on activity

  • Execute a full modeling workflow with the post pipeline

  • Complete a workflow sprint and report results

1. Welcome and Session Plan

This lesson has four blocks in the following order:

1.1. What you will do

  1. Follow a guided tour of ChemML capabilities.
  2. Practice those capabilities in short station-style tasks.
  3. Follow a full workflow demo using the post pipeline.
  4. Complete a short workflow sprint and report your results.

1.2. Materials location

All lesson resources are in the GitHub repo

Core subfolders:

1.3. Environment setup

If ChemML is already available in your environment, skip to Section 2.

conda create -n chemml_demo python=3.12 -y      # Skip if you already have an env set up
conda activate chemml_demo                      # Replace with existing env if applicable
conda install -c conda-forge openbabel nb_conda_kernels python-graphviz

git clone https://github.com/hachmannlab/chemml.git
cd chemml
pip install -e .
pip install tqdm

2. Demo 1: ChemML Capabilities (50 Min)

2.1. Timeline

2.2. Follow-along notebooks

Use these notebooks during the live walkthrough (all notebooks are available on the GitHub repo as well as the ChemML website for a reference on how they should look):

2.2.1. Data ingestion and preprocessing

Outcome:

2.2.2. Chemical representations and features

Outcome:

2.2.3. Baseline modeling and visualization

Outcome:

2.2.4. Optimization, AutoML, and explainability

Outcome:

2.2.5. Optional advanced notebooks

3. Hands-on 1: Capabilities Practice (50 Min)

3.1. Time plan

3.2. Required stations

Students complete four short stations:

  1. Preprocessing station:
  2. Representation station:
  3. Baseline model station:
  4. Optimization or explainability station (choose one):

Required outcomes:

  1. Show one cleaned intermediate dataset
  2. Generate at least one molecular or engineered feature set
  3. Train one baseline model and report one metric
  4. Complete one optimization or explainability action

3.3. Optional extension

  1. Compare at least two model families from ml_model.ipynb and summarize one key difference.

3.4. What to submit for Hands-on 1

Each student team submits:

4. Demo 2: Full Workflow with post (50 Min)

4.1. Timeline

4.2. Workflow assets

5. Hands-on 2: Workflow Sprint (40 Min)

5.1. Time plan

5.2. Required workflow sprint task

Use:

Required outcomes:

  1. Run the workflow through baseline model output
  2. Execute at least one AutoML-related step or load one artifact file
  3. Report one baseline metric and one optimized/compared metric
  4. Identify one bottleneck and one improvement

5.3. What to submit for Hands-on 2

6. Future Direction (Optional)

Potential mini-project directions for interested students:

7. Resources

8. Presentations and Videorecordings

8.1. Presentations

CyberTraining presnetation

Python presnetation

ML process presnetation

ChemML overview

ChemML presentation

8.2. Classroom recording

8.3. Zoom recordings

Key Points

  • ChemML capabilities can be taught as a connected stack: data -> representation -> modeling -> optimization -> explainability

  • A two-demo format separates breadth (capabilities) from depth (full workflow)

  • Precomputed artifacts support comparison when AutoML runtime is limited