Skip to content
Back to skills

Model Training

ASecurity

"Train and evaluate DeepChem models; choose metrics, model

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
datapythonbashapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill model-training --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Model Training?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Model Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-model-training-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-model-training-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: model-training
description: "Train and evaluate DeepChem models; choose metrics, model
  families, hyperparameter search, save/restore, and optional backend-gated
  workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# DeepChem Model Training

Use this sub-skill when the task is about constructing `deepchem.models` objects, calling `fit()`, `evaluate()`, `predict()`, selecting `deepchem.metrics.Metric`, running `deepchem.hyper` searches, saving/restoring models, or planning model families and optional backends.

Route adjacent work elsewhere:
- Data loading, MoleculeNet loaders, dataset transforms, and splits: `../data-and-molnet/`.
- Molecular featurizers and feature/model compatibility: `../featurization/`.
- Docking or structure scoring workflows: `../docking-and-structure/`.

Start with a base-dependency baseline unless the user explicitly requests neural models:
1. Confirm the dataset is already a DeepChem `Dataset` with compatible `X`, `y`, and `w` shapes.
2. Pick a model family from `references/model-families.md`; prefer `SklearnModel` for fast baselines in minimal installs.
3. Pick metrics from `references/api-reference.md`; match classification metrics to probability/class-label shape requirements.
4. Fit, evaluate, predict, and persist using `references/training-workflows.md`.
5. If a backend warning appears or an import fails, consult `references/troubleshooting.md` before installing extras.

For a deterministic smoke test that avoids TensorFlow/PyTorch/JAX, run:

```bash
python sub-skills/model-training/scripts/train_tiny_sklearn_model.py
```

Expected output includes a JSON object with `score_key`, `prediction_shape`, and `restored_prediction_shape`.

Files in this skill

  • SKILL.md1.7 KB
  • references/api-reference.md5.6 KB
  • references/model-families.md4.5 KB
  • references/training-workflows.md5.1 KB
  • references/troubleshooting.md4 KB
  • scripts/train_tiny_sklearn_model.py2.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.