ワンクリックで
ix-random-forest
Random forest and gradient boosted trees — ensemble classifiers for tabular data
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Random forest and gradient boosted trees — ensemble classifiers for tabular data
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Test model robustness with adversarial attacks and defenses
Multi-armed bandit simulation — epsilon-greedy, UCB1, Thompson sampling
Benchmark and compare ix algorithm performance
Embedded Redis-like cache with TTL, LRU, pub/sub, and RESP protocol
Category theory primitives — monad laws verification, free-forgetful adjunction
Chaos theory analysis — Lyapunov exponents, bifurcation, attractors, fractals
| name | ix-random-forest |
| description | Random forest and gradient boosted trees — ensemble classifiers for tabular data |
| disable-model-invocation | true |
Ensemble classifiers using decision tree base learners.
When the user needs classification with probability estimates, wants a robust baseline classifier, has tabular data, or needs gradient boosting for high accuracy.
| Criterion | Random Forest | Gradient Boosting |
|---|---|---|
| Tuning effort | Low (just n_trees) | Medium (LR + n_estimators) |
| Overfitting risk | Low | Higher (use low LR) |
| Accuracy ceiling | Good | Often better |
| Training speed | Fast (parallelizable) | Sequential rounds |
use ix_ensemble::random_forest::RandomForest;
use ix_ensemble::gradient_boosting::GradientBoostedClassifier;
use ix_ensemble::traits::EnsembleClassifier;
// Random Forest
let mut rf = RandomForest::new(100, 10).with_seed(42);
rf.fit(&x_train, &y_train);
let preds = rf.predict(&x_test);
// Gradient Boosting
let mut gbc = GradientBoostedClassifier::new(50, 0.1);
gbc.fit(&x_train, &y_train);
let preds = gbc.predict(&x_test);
let probas = gbc.predict_proba(&x_test);
ix_random_forest — Parameters: x_train, y_train, x_test, n_trees, max_depthix_gradient_boosting — Parameters: x_train, y_train, x_test, n_estimators, learning_rate, max_depth