Skip to main content
Run any Skill in Manus
with one click

pyrsm-rforest

Stars4
Forks2
UpdatedJune 19, 2026 at 20:17

Fit and interpret Random Forest models in Python using the pyrsm library's `rforest` class — for either binary classification (`mod_type="classification"`, predict P(`lev`)) or regression (`mod_type="regression"`, predict a continuous outcome). Use this skill whenever a student or analyst wants to fit a Random Forest, get an OOB AUC / R² baseline, examine feature importance (permutation or sklearn-style mean-decrease-impurity), look at partial-dependence plots, tune `n_estimators` / `max_features` / `min_samples_leaf` with cross-validation, score new data, or evaluate classification performance (confusion, AUC, gains, lift, profit). Triggers include phrases like "fit a random forest", "tune a random forest", "feature importance from random forest", "OOB AUC", "predict churn with rforest", "compare logistic vs random forest", "PDP for the random forest", "GridSearchCV with pyrsm.model.rforest", or any tree-ensemble modeling request in a marketing/business analytics context.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
4 files
SKILL.md
readonly