Skip to content
Back to skills

Supervised Modeling

ASecurity

"Fit, predict with, score, and route supervised Orange3

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
developmentgosqlrailsdebuggingapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill supervised-modeling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Supervised Modeling?

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

Security grade badge for Supervised Modeling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-supervised-modeling/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-supervised-modeling)

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: supervised-modeling
description: "Fit, predict with, score, and route supervised Orange3
  classification/regression learners, models, evaluation routines, and
  supervised model/evaluate widgets."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# supervised-modeling

Use this sub-skill when the Orange3 task is about supervised learning: choosing a classifier or regressor, fitting a learner to an `Orange.data.Table`, calling a fitted model for predictions, evaluating learners with `Orange.evaluation`, or wiring supervised model/evaluate widgets.

Do **not** use it for exploratory plotting, projections, clustering, unsupervised visualization, generic file/SQL loading, or widget-framework development except where those surfaces are needed to feed or evaluate supervised models.

## Fast routing

1. **Classify the target.** Use `data.domain.has_discrete_class` for classification and `data.domain.has_continuous_class` for regression. Most learners require exactly one target variable; if `len(data.domain.class_vars) > 1`, select one target before fitting.
2. **Choose the learner layer.**
   - `Orange.classification.*` for categorical targets.
   - `Orange.regression.*` for numeric targets.
   - `Orange.modelling.*` fitters such as `RandomForestLearner`, `TreeLearner`, `KNNLearner`, `SVMLearner`, `GBLearner`, and `ConstantLearner` when one object should dispatch to classification or regression based on the domain.
3. **Fit and predict.** `learner(data)` returns a model. `model(data)` returns predicted values; for classification use `model(data, ret=model.Probs)` or `model(data, ret=model.ValueProbs)` when probabilities are required.
4. **Evaluate.** Use `Orange.evaluation.CrossValidation`, `ShuffleSplit`, `TestOnTestData`, or `TestOnTrainingData` with a list of learners, then call score classes such as `CA`, `AUC`, `F1`, `RMSE`, and `R2` on the `Results` object.
5. **For widgets.** Model widgets emit a `Learner` and, when valid training data is supplied, a fitted `Model`. `Test and Score` consumes Data/Test Data/Learner(s)/Preprocessor and emits `Evaluation Results`; `Predictions` consumes Data plus fitted Models.

## Read next

- `references/api-reference.md` for learner/model/evaluation API contracts, return shapes, score families, fitters, and widget signal surfaces.
- `references/workflows.md` for compact classification, regression, dispatch, evaluation, and widget workflows.
- `references/troubleshooting.md` for target, sparse-data, fitting, domain-compatibility, empty-results, and memory failure modes.

## Guardrails

- Validate the target before modeling. Classification learners raise errors such as `Categorical class variable expected`; regression learners raise `Numeric target variable expected`; model widgets show equivalent data errors.
- Do not ask for probabilities from regression models: Orange raises `ValueError: cannot predict continuous distributions` for probability returns on continuous targets.
- Treat `Results.failed` as first-class evidence. Orange evaluation suppresses learner exceptions by default; rerun with `suppresses_exceptions=False` when debugging a failed learner.
- Use the bundled references above for runtime guidance; do not rely on hidden local files or absolute paths when helping a future agent.

Files in this skill

  • SKILL.md3.3 KB
  • references/api-reference.md11.9 KB
  • references/troubleshooting.md9.9 KB
  • references/workflows.md7.6 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.