登录
首页 » python » 决策树算法实现

决策树算法实现

于 2022-04-14 发布 文件大小:33.22 kB
0 234
下载积分: 2 下载次数: 2

代码说明:

决策树算法是一种逼近离散函数值的方法。它是一种典型的分类方法,首先对数据进行处理,利用归纳算法生成可读的规则和决策树,然后使用决策对新数据进行分析。本质上决策树是通过一系列规则对数据进行分类的过程。 决策树方法最早产生于上世纪60年代,到70年代末。由J Ross Quinlan提出了ID3算法,此算法的目的在于减少树的深度。但是忽略了叶子数目的研究。C4.5算法在ID3算法的基础上进行了改进,对于预测变量的缺值处理、剪枝技术、派生规则等方面作了较大改进,既适合于分类问题,又适合于回归问题。 决策树算法构造决策树来发现数据中蕴涵的分类规则.如何构造精度高、规模小的决策树是决策树算法的核心内容。决策树构造可以分两步进行。第一步,决策树的生成:由训练样本集生成决策树的过程。一般情况下,训练样本数据集是根据实际需要有历史的、有一定综合程度的,用于数据分析处理的数据集。第二步,决策树的剪枝:决策树的剪枝是对上一阶段生成的决策树进行检验、校正和修下的过程,主要是用新的样本数据集(称为测试数据集)中的数据校验决策树生成过程中产生的初步规则,将那些影响预衡准确性的分枝剪除。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • gprof2dot.py脚本 方便调试
    gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试 gprof2dot.py脚本 方便调试
    2022-02-27 04:35:39下载
    积分:1
  • Evaluate_J.py
    说明:  含界面的CT试件的J积分计算。计算了(Simha,N.K.等人2005)的结果。主要是提取界面上的材料力,对J积分进行修正以保持路径无关性。(J integral for compact tension specimen with interface. The results of (Simha, N.K. et al 2005) are reproduced. Mainly, the material force in the interface is extracted and the J-integral is corrected to retain path independence.)
    2021-04-08 17:19:00下载
    积分:1
  • Evento-master
    event manger in simple project
    2019-03-15 20:05:31下载
    积分:1
  • EnlightenGAN
    说明:  无监督训练的生成对抗网络程序,python版本,生成有关光照不同的图片(Unsupervised training generated against the network program, python version, to generate different pictures about the light)
    2020-03-06 15:28:12下载
    积分:1
  • logs
    基于web.py框架实现的实时日志输出,直接输出到web页面。方便监控服务器状态。(Real time implementation of web.py framework based on the log output, output directly to the web page. To facilitate the monitoring server status.)
    2015-01-17 20:50:35下载
    积分:1
  • bioinspirada
    说明:  image segmentation bee algorithm
    2020-06-24 20:40:02下载
    积分:1
  • RL
    强化学习 DQN代码,和通信相关,利用python进行训练,大家可以看看(reinforcement learning)
    2018-09-18 11:44:45下载
    积分:1
  • 机器学习实战 = Machine Learning in Action
    说明:  机器学习是人工智能研究领域中的一个极其重要的方向。在现今大数据时代的背景下,捕获数据并从中萃取有价值的信息或模式,使得这一过去为分析师与数学家所专属的研究领域越来越为人们瞩目。本书通过精心编排的实例,切入日常工作任务,摒弃学术化语言,利用高效可复用的Python 代码阐释如何处理统计数据,进行数据分析及可视化。读者可从中学到一些核心的机器学习算法,并将其运用于某些策略性任务中,如分类、预测及推荐等。(Machine learning is an extremely important direction in the field of artificial intelligence research. In the context of the current era of big data, capturing data and extracting valuable information or patterns from it has made this research area that was exclusive to analysts and mathematicians more and more attractive. Through well-organized examples, this book cuts into daily work tasks, abandons academic languages, and uses efficient and reusable Python code to explain how to process statistical data, perform data analysis and visualization. Readers can learn some core machine learning algorithms and apply them to certain strategic tasks, such as classification, prediction, and recommendation.)
    2019-12-06 15:25:55下载
    积分:1
  • livewire
    模拟Photoshop中的磁力套索的算法,主要是先用Opencv做梯度相关处理,然后用Djisktra最短路径搜索找到边缘。(Magnetic Lasso implementation using Python)
    2014-05-14 14:49:32下载
    积分:1
  • libsvm-3.22
    LIBSVM是台湾大学林智仁(Lin Chih-Jen)教授等开发设计的一个简单、易于使用和快速有效的SVM模式识别与回归的软件包,他不但提供了编译好的可在Windows系列系统的执行文件,还提供了源代码,方便改进、修改以及在其它操作系统上应用;该软件对SVM所涉及的参数调节相对比较少,提供了很多的默认参数,利用这些默认参数可以解决很多问题;并提供了交互检验(Cross Validation)的功能。该软件可以解决C-SVM、ν-SVM、ε-SVR和ν-SVR等问题,包括基于一对一算法的多类模式识别问题。压缩包内包括测试数据与源码。
    2022-03-06 01:39:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载