Decision tree modeling

From Drchronx/ai-agent-research-starter-kit · View interactive version

Decision tree modeling is an AI agent skill from the GitHub repository Drchronx/ai-agent-research-starter-kit. 提供决策树分类建模与超参数优化能力;当用户需要建立分类模型、优化模型参数、生成可视化决策树或输出完整建模报告时使用

How to use this skill

Skill file

决策树建模分析

任务目标

操作步骤

  1. 数据准备
  1. 执行建模分析

```bash

python scripts/decision_tree_modeling.py --input ./iris.csv --target species --output_dir ./output

```

  1. 解读分析报告

资源索引

注意事项

使用示例

示例1: 鸢尾花数据集分类

python scripts/decision_tree_modeling.py \
  --input ./iris.csv \
  --target species \
  --output_dir ./iris_output

示例2: 自定义交叉验证折数

python scripts/decision_tree_modeling.py \
  --input ./data.xlsx \
  --target category \
  --cv_folds 10 \
  --test_size 0.3

示例3: 固定随机种子以保证可复现性

python scripts/decision_tree_modeling.py \
  --input ./training_data.csv \
  --target class_label \
  --random_state 2024
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.