pyC45.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:XTREE 作者: ai-se 项目源码 文件源码
def _test():
  tbl_loc = explore(dir='../Data/Seigmund/', name='Apache')
  tbl = csv2DF(tbl_loc)

  # Define Tree settings
  opt = Thing(
         min=1,
         maxLvL=10,
         infoPrune=0.5,
         klass=-1,
         prune=False,
         debug=True,
         verbose=True)

  #Build a tree
  tree = dtree(tbl, opt=opt)

  # Show the tree
  if opt.verbose: show(tree)

  # ----- Debug? -----
  if opt.debug: set_trace()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号