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()
评论列表
文章目录