Nonelinear Model

Nonelinear Model

Decision Tree
  • decision tree is a supervised prediction model
    it is usually a k-nary tree. each leaf denotes one classification or continuous value of the dependent variable.
  • two types of dependent variable:
    • classification tree
    • regression tree
  • how to build a decision tree:
    • two steps:
      feature prioritization
      feature splitting
    • Algorithnm Details - ID3 Algorithm
      at each iteration step, we split the feature which can give us the largest entropy gain 直观理解:减少偏见
      Definition of Entropy: I_e = - log_2p_i Entropy of the entire information system: H = \sum_{i=1}^np_i(\sum^m_{j=1}p_jI_e)
      image.png

      image.png
  • other tree algortithms:
    • C4.5 Algorithm: Gain Rate
    • CART: Gini impurity


      image.png
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • O 不知道什么时候收藏的几篇关于写作的文章在微信里面,现在也每天也正在从事着写作的练习,和现在的写作与文章中的写作...
    冯诺伊漫阅读 171评论 2 3
  • 今天晚上,我吃着饭,看着电视,就仿佛自己是大老爷似的,神气十足。 突然,周围变的一片漆黑,...
    夕阳下的梦比优斯阅读 139评论 0 0
  • 人生就是一只储蓄罐,你投入的每一分努力,都会在未来的某一天,打包还给你。别人所拥有的,你只要愿意去付出,一样可以拥有。
    九洋阅读 167评论 0 0