---
title: CART 提示和技巧抢先看，之后再观看在线研讨会！| Get a Sneak Peek at CART Tips & Tricks Before You Watch the Webinar!
description: 在目前已可供点播的在线研讨会中，我分享了 Minitab Statistical Software 中分类和回归树 (CART) 的技巧。我们探索 CART 结果，设置特定数据条件的惩罚，还讨论处理结果的最佳实践。今天我想让大家体会一下预期性能。
image: https://blog.minitab.com/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/Capture-Feb-12-2022-04-36-52-42-AM-1.jpg
---

中文（简体）

- [English](https://blog.minitab.com/en/?hsLang=zh)
- [Français](https://blog.minitab.com/fr/?hsLang=zh)
- [Deutsch](https://blog.minitab.com/de/?hsLang=zh)
- [Português](https://blog.minitab.com/pt/?hsLang=zh)
- [Español](https://blog.minitab.com/es/?hsLang=zh)
- [日本語](https://blog.minitab.com/ja/?hsLang=zh)
- [한국어](https://blog.minitab.com/ko/?hsLang=zh)
- [中文（简体）](https://blog.minitab.com/zh/?hsLang=zh)

- [Chinese](https://blog.minitab.com/zh/blog/tips-tricks-cart-classification-regression-trees)
- [Deutsch](https://blog.minitab.com/de/blog/tipps-und-tricks-fur-cart)
- [English](https://blog.minitab.com/en/blog/tips-tricks-cart-classification-regression-trees)
- [한국어](https://blog.minitab.com/ko/blog/tips-tricks-cart-classification-regression-trees)
- [日本語](https://blog.minitab.com/ja/blog/tips-tricks-cart-classification-regression-trees)

- [![Icon Partners](https://blog.minitab.com/hubfs/WCM/Partners.png) 合作伙伴](https://www.minitab.com/zh-cn/company/partners/)
- [![Icon Contact](https://blog.minitab.com/hubfs/WCM/Contact.png) 联系](https://www.minitab.com/zh-cn/company/contact-us/)
- [![Icon Talk to Minitab](https://blog.minitab.com/hubfs/WCM/Phone.png) 与 Minitab 沟通](https://www.minitab.com/zh-cn/talk-to-minitab/)
- [![Icon My Account](https://blog.minitab.com/hubfs/WCM/MyAcct.png) 我的帐户](https://licensing.minitab.com/account/manage)

[![Minitab](https://blog.minitab.com/hubfs/WCM/minitab-corp-logo.svg)](https://www.minitab.com/zh-cn/)

- 产品
  
  返回
  
  [产品](https://www.minitab.com/zh-cn/products/)
  
  [所有产品](https://www.minitab.com/zh-cn/products/) 
    - [Minitab Solution Center](https://www.minitab.com/zh-cn/products/minitab-solution-center/)
    - [Minitab Statistical Software](https://www.minitab.com/zh-cn/products/minitab/)
    - [Minitab Connect](https://www.minitab.com/zh-cn/products/connect/)
    - [Minitab Model Ops](https://www.minitab.com/zh-cn/products/model-ops/)
    - [Minitab Education Hub](https://www.minitab.com/zh-cn/products/education-hub/)
    - [Minitab Engage](https://www.minitab.com/zh-cn/products/engage/)
    - [Minitab Workspace](https://www.minitab.com/zh-cn/products/workspace/)
    - [Real-Time SPC](https://www.minitab.com/zh-cn/products/real-time-spc/)
    - [Prolink 数据收集和统计过程控制 (SPC)](https://info.minitab.com/zh/shop-floor-connectivity-with-prolink?hsLang=zh)
    - [Simul8 离散事件模拟](https://info.minitab.com/zh/new-to-simul8?hsLang=zh)
    - [SPM](https://www.minitab.com/zh-cn/products/spm/)
- 解决方案
  
  返回
  
  [解决方案](https://www.minitab.com/zh-cn/solutions/)
  
  [所有解决方案](https://www.minitab.com/zh-cn/solutions/) 
    - [分析](https://www.minitab.com/zh-cn/solutions/analytics/)
    - [统计学和预测分析](https://www.minitab.com/zh-cn/solutions/analytics/statistical-analysis-predictive-analytics/)
    - [数据科学和机器学习](https://www.minitab.com/zh-cn/solutions/analytics/data-science-machine-learning/)
    - [业务分析和智能软件](https://www.minitab.com/zh-cn/solutions/analytics/business-analytics-intelligence/)
    - [统计过程控制](https://www.minitab.com/zh-cn/solutions/analytics/statistical-process-control/)
    - [运营与质量分析](https://www.minitab.com/zh-cn/solutions/analytics/quality-analytics/)
    - [Live Analytics](https://www.minitab.com/zh-cn/solutions/analytics/live-analytics/)
    - [可靠性和寿命数据分析](https://www.minitab.com/zh-cn/solutions/analytics/reliability/)
    - [离散事件模拟](https://info.minitab.com/zh/new-to-simul8?hsLang=zh)
    - [过程挖掘](https://info.minitab.com/zh/new-to-simul8?hsLang=zh)
    - [关键功能](https://www.minitab.com/zh-cn/solutions/key-capabilities/)
    - [持续改进](https://www.minitab.com/zh-cn/solutions/key-capabilities/continuous-improvement/)
    - [数据集成和数据准备](https://www.minitab.com/zh-cn/solutions/key-capabilities/data-integration-data-prep/)
    - [图表和思维导图](https://www.minitab.com/zh-cn/solutions/key-capabilities/diagramming-mind-mapping/)
    - [数字孪生](https://info.minitab.com/zh/new-to-simul8?hsLang=zh)
    - [模型和机器学习运营](https://www.minitab.com/zh-cn/solutions/key-capabilities/model-deployment-ml-ops/)
    - [创新和项目管理](https://www.minitab.com/zh-cn/solutions/key-capabilities/innovation-project-management/)
    - [过程卓越：检测、纠正和预防](https://www.minitab.com/zh-cn/solutions/key-capabilities/process-excellence/)
    - [自动化数据收集](https://info.minitab.com/zh/shop-floor-connectivity-with-prolink?hsLang=zh)
    - [行业解决方案](https://www.minitab.com/zh-cn/solutions/industry/)
    - [学术](https://www.minitab.com/zh-cn/solutions/industry/academic/)
    - [能源和自然资源](https://www.minitab.com/zh-cn/solutions/industry/energy-resources/)
    - [政府和公共部门](https://www.minitab.com/zh-cn/solutions/industry/government/)
    - [医疗保健](https://www.minitab.com/zh-cn/solutions/industry/healthcare/)
    - [保险](https://www.minitab.com/zh-cn/solutions/industry/insurance/)
    - [制造和工业](https://www.minitab.com/zh-cn/solutions/industry/manufacturing-industrial/)
    - [服务](https://www.minitab.com/zh-cn/solutions/industry/service-industries/)
    - [软件和技术](https://www.minitab.com/zh-cn/solutions/industry/software-technology/)
    - [建筑](https://www.minitab.com/zh-cn/solutions/industry/construction/)
    - [按职能/角色](https://www.minitab.com/zh-cn/solutions/role/)
    - [工程](https://www.minitab.com/zh-cn/solutions/role/engineering/)
    - [高级商业智能解决方案](https://www.minitab.com/zh-cn/solutions/role/business-analysts/)
    - [信息技术](https://www.minitab.com/zh-cn/solutions/role/information-technology/)
    - [供应链](https://www.minitab.com/zh-cn/solutions/role/supply-chain/)
    - [客户服务解决方案](https://www.minitab.com/zh-cn/solutions/role/customer-service-contact-center/)
    - [人力资源](https://www.minitab.com/zh-cn/solutions/role/human-resources/)
    - [营销数据分析](https://www.minitab.com/zh-cn/solutions/role/marketing/)
    - [研发](https://www.minitab.com/zh-cn/solutions/role/research-and-development/)
- 资源和服务
  
  返回
  
  [资源和服务](https://www.minitab.com/zh-cn/resources-services/)
  
  [所有资源和服务](https://www.minitab.com/zh-cn/resources-services/) 
    - [资源](https://www.minitab.com/zh-cn/resources-services/resources/)
    - [解决方案](https://www.minitab.com/zh-cn/resources-services/resources/case-studies/)
    - [博客](https://www.minitab.com/zh-cn/resources-services/resources/blog/)
    - [数据集](https://www.minitab.com/zh-cn/resources-services/resources/data-set/)
    - [活动 & 活动](https://www.minitab.com/zh-cn/resources-services/resources/events/)
    - [Education Hub](https://www.minitab.com/zh-cn/resources-services/resources/education-hub/)
    - [服务](https://www.minitab.com/zh-cn/resources-services/services/)
    - [培训](https://www.minitab.com/zh-cn/resources-services/services/training/)
    - [部署](https://www.minitab.com/zh-cn/resources-services/services/deployment/)
    - [统计咨询](https://www.minitab.com/zh-cn/resources-services/services/statistical-consulting/)
    - [自定进度的学习](https://www.minitab.com/zh-cn/resources-services/services/self-paced-learning/)
    - [继续教育](https://www.minitab.com/zh-cn/resources-services/services/continuing-education/)
- 支持
  
  返回
  
  [支持](https://www.minitab.com/zh-cn/support/)
  
  [技术支持](https://www.minitab.com/zh-cn/support/) 
    - [订阅和激活](https://www.minitab.com/zh-cn/support/subscriptions-and-activation/)
    - [Minitab Quick Start](https://www.minitab.com/zh-cn/support/quick-start/)
    - [培训](https://www.minitab.com/zh-cn/resources-services/services/training/)
    - [安装支持](https://www.minitab.com/zh-cn/support/installation/)
    - [支持视频](https://www.minitab.com/zh-cn/support/videos/)
    - [软件文档](https://www.minitab.com/zh-cn/support/documents/)
    - [软件更新](https://www.minitab.com/zh-cn/support/software-updates/)
    - [产品下载](https://www.minitab.com/zh-cn/support/downloads/)
    - [支持策略](https://www.minitab.com/zh-cn/support/policy/)
- 公司
  
  返回
  
  [公司](https://www.minitab.com/zh-cn/company/)
  
  [公司](https://www.minitab.com/zh-cn/company/) 
    - [关于我们](https://www.minitab.com/zh-cn/company/our-company/)
    - [领导团队](https://www.minitab.com/zh-cn/company/leadership-team/)
    - [合作伙伴](https://www.minitab.com/zh-cn/company/partners/)
    - [职业](https://www.minitab.com/zh-cn/company/careers/)
    - [联系我们](https://www.minitab.com/zh-cn/company/contact-us/)
    - [新闻](https://www.minitab.com/zh-cn/company/press-releases/)

[试用/购买](https://www.minitab.com/zh-cn/try-buy/)

- [Minitab Statistical Software](https://blog.minitab.com/zh/blog/tag/minitab-statistical-software)

- [注册](https://info.minitab.com/zh/blog/subscribe?hsLang=zh)

![Minitab](https://20853177.fs1.hubspotusercontent-na1.net/hubfs/20853177/minitab-corp-logo.svg?t=1755011311618)

## 通知

您现在将离开 minitab.com。

 单击继续以继续：

 继续

 回去

# CART 提示和技巧抢先看，之后再观看在线研讨会！| Get a Sneak Peek at CART Tips & Tricks Before You Watch the Webinar!

 Minitab Blog Editor  |  2/17/2022

 主题: [Minitab Statistical Software](https://blog.minitab.com/zh/blog/tag/minitab-statistical-software), [regression trees](https://blog.minitab.com/zh/blog/tag/regression-trees), [CART](https://blog.minitab.com/zh/blog/tag/cart), [classification trees](https://blog.minitab.com/zh/blog/tag/classification-trees)

- [Share](https://www.linkedin.com/shareArticle?mini=true&url=https://blog.minitab.com/zh/blog/tips-tricks-cart-classification-regression-trees)
- [Share](https://www.facebook.com/sharer.php?u=https://blog.minitab.com/zh/blog/tips-tricks-cart-classification-regression-trees)

在目前已可供点播的在线研讨会中，我分享了 Minitab Statistical Software 中分类和回归树 (CART) 的技巧。我们探索 CART 结果，设置特定数据条件的惩罚，还讨论处理结果的最佳实践。今天我想让大家体会一下预期性能。

### **CART 提示和技巧点播在线研讨会** [![观看网络研讨会](https://no-cache.hubspot.com/cta/default/3447555/a1f6f7d6-2832-4e5b-93c3-b421d4ff255d.png)](https://cta-redirect.hubspot.com/cta/redirect/3447555/a1f6f7d6-2832-4e5b-93c3-b421d4ff255d)

# **分类和回归树 (CART) 是什么？**

CART 是以递归分割为基础的建模技术，可用于预测连续响应和类别响应。这些预测模型不仅提供自动变量选择，还可通过 Minitab 轻松完成构造。最重要的是，这个模型能以决策树形式实现可视化，便于解释。处理大型观测数据集或存在复杂非线性关系时，CART 可作为线性或 Logistic 回归的备择，发挥积极作用。

# **提示 1：使用节点分裂视图获得对决策树的总体了解**

较大 CART 模型的详细视图可能较难实现可视化，但所幸 Minitab 提供的选项可查看树的简化视图。只需右键单击 Minitab 中的 CART 模型并选择**节点分裂视图**即可。此简化视图只会显示每次划分数据时使用的预测变量。

![Detail vs. Split Node View](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/node-split-view-Jul-05-2025-10-32-31-9808-PM.png?width=600&name=node-split-view-Jul-05-2025-10-32-31-9808-PM.png)

# **提示 2：将 CART 预测存储在工作表中**

响应变量或目标变量为连续变量时，回归树模型会预测每个终端节点的平均值。对于类别结果变量而言，预测值为每个响应水平以及预测响应水平的概率。要使用 Minitab 中的其他可视化功能以图形方式探索模型的预测，只需使用**存储**选项将 CART 预测值存储在工作表中。

![Store CART Predictions with the storage option](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/storage-cart-predictions-Jul-05-2025-10-32-30-7764-PM.png?width=600&name=storage-cart-predictions-Jul-05-2025-10-32-30-7764-PM.png)

CART 的相对变量重要性图会依重要性顺序显示预测变量。这些重要预测变量对响应的效应可使用 Minitab 的图形化选项予以可视化。在下方的示例中，分类模型中两个最重要的连续预测变量用于通过等值线图来直观表示响应事件的预测概率。

![Relative Variable Importance and Contour Plot](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/cart-tips-blog-relative-variable-importance-contour-plot-Jul-05-2025-10-32-27-5891-PM.png?width=485&name=cart-tips-blog-relative-variable-importance-contour-plot-Jul-05-2025-10-32-27-5891-PM.png)

# **提示 3：将惩罚应用到具有大量缺失值的预测变量或具有大量唯一值的类别预测变量**

与具有较少水平或没有缺失值的预测变量相比，具有许多缺失值的连续或类别预测变量，或者具有多个水平的类别预测变量，拥有一定优势。因此，这些预测变量的其中一个会“接管”树，掩盖其他预测变量的效应。为应对这些数据条件，Minitab 提供了一个选项，将惩罚应用到具有大量缺失值的预测变量或具有大量唯一值的类别预测变量。

![cart-tips-blog-applying-penalties](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/cart-tips-blog-applying-penalties-Jul-05-2025-10-32-28-7962-PM.png?width=843&name=cart-tips-blog-applying-penalties-Jul-05-2025-10-32-28-7962-PM.png)

这些惩罚可通过**选项**菜单中的**文件 \> 选项**找到。惩罚可应用到分类或回归树中，且缺失值的惩罚值范围为 0 到 2，类别预测变量的惩罚值范围为 0 到 5（0 代表无惩罚，而较高的值分别表示程度最高的惩罚）。

### **准备好试用最新版 Minitab 中的 CART 了吗？** [![开始免费试用版](https://no-cache.hubspot.com/cta/default/3447555/e9b1438e-c2b7-443b-8d7d-decf5fd5327a.png)](https://cta-redirect.hubspot.com/cta/redirect/3447555/e9b1438e-c2b7-443b-8d7d-decf5fd5327a)

## 你可能也喜欢

<https://blog.minitab.com/zh/blog/confidence-in-every-calculation-how-minitab-supports-fda-regulated-validation?hsLang=zh>

[每次计算都值得信赖：Minitab 如何支持 FDA 监管的验证 | Confidence in Every Calculation: How Minitab Supports FDA-Regulated Validation](https://blog.minitab.com/zh/blog/confidence-in-every-calculation-how-minitab-supports-fda-regulated-validation?hsLang=zh)

[Minitab Solution Center](https://blog.minitab.com/zh/blog/tag/minitab-solution-center)  | 9 分钟阅读

<https://blog.minitab.com/zh/blog/the-minitab-solution-center-bridging-data-and-decision-making-1?hsLang=zh>

[Minitab Solution Center：搭建数据和决策的桥梁 | The Minitab Solution Center: Bridging Data and Decision-Making](https://blog.minitab.com/zh/blog/the-minitab-solution-center-bridging-data-and-decision-making-1?hsLang=zh)

[Minitab Solution Center](https://blog.minitab.com/zh/blog/tag/minitab-solution-center)  | 16 分钟阅读

<https://blog.minitab.com/zh/blog/how-simulation-keeps-you-ahead-from-automotive-to-aerospace?hsLang=zh>

[模拟如何让您保持行业领先——从汽车制造到航空航天](https://blog.minitab.com/zh/blog/how-simulation-keeps-you-ahead-from-automotive-to-aerospace?hsLang=zh)

[Minitab Solution Center](https://blog.minitab.com/zh/blog/tag/minitab-solution-center)  | 5 分钟阅读

---

- [职业](https://www.minitab.com/zh-cn/company/careers/)
- [信任中心](https://www.minitab.com/zh-cn/trust-center/)
- [供应商](https://www.minitab.com/zh-cn/suppliers/)
- [站点图](https://www.minitab.com/zh-cn/site-map/)

- [![linkedin](https://blog.minitab.com/hubfs/WCM/linkedin-1.png)](https://www.linkedin.com/company/minitab/)
- [![facebook](https://blog.minitab.com/hubfs/WCM/facebook.png)](https://www.facebook.com/Minitab/)
- [![youtube](https://blog.minitab.com/hubfs/WCM/youtube.png)](https://www.youtube.com/user/MinitabInc)
- [![instagram](https://blog.minitab.com/hubfs/WCM/instagram.png)](https://www.instagram.com/minitab/)

---

© 2025 Minitab, LLC. All Rights Reserved.

- [使用条款](https://www.minitab.com/zh-cn/legal/terms-of-use/)
- [隐私政策](https://www.minitab.com/zh-cn/legal/privacy-policy/)
- [合法](https://www.minitab.com/zh-cn/legal/)

- Cookies Settings