# Tree Models

> Tree-based causal and uplift model workflows.

- Skill: `vectorspacelab/tree-models` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx get-skill add vectorspacelab/tree-models`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vectorspacelab/tree-models/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: NOASSERTION
- Author: VectorSpaceLab (https://skillmd.com/u/vectorspacelab)
- Updated: 2026-11-18
- Page: https://skillmd.com/skills/vectorspacelab/tree-models

---


# tree-models

Use this sub-skill for causal trees, uplift trees, tree ensembles, tree plots, and tree persistence.

## Route here when the request is about
- `CausalTreeRegressor` or `CausalRandomForestRegressor`
- `UpliftTreeClassifier` or `UpliftRandomForestClassifier`
- tree visualization or tree-string rendering
- `save` / `load` for tree models
- compiled-extension or tree-import failures

## Open the matching reference
- [Causal trees](references/causal-trees.md)
- [Uplift trees](references/uplift-trees.md)
- [Troubleshooting](references/troubleshooting.md)

## Guardrails
- `CausalRandomForestRegressor` has no `fit_predict`; use `fit(...)` and then `predict(...)`.
- `UpliftTreeClassifier` uses `fill(...)` and `prune(...)` for validation-set updates.
- `uplift_tree_string(...)` prints the ASCII tree, and `uplift_tree_plot(...)` returns a graph object.
- Keep class-specific persistence, visualization, and failure-handling details in the bundled references.

