ezr.h2o_viewtree: Print H2o Tree

Description Usage Arguments Value

Description

View the splitting of a decision tree in an image.

Usage

1
ezr.h2o_viewtree(mojo_location, print_tree = 0, file_name = "mymodel")

Arguments

mojo_location

Should be the path + file name ending in .zip. For example "Users/yourname/Desktop/xgboost_model.zip"

print_tree

Use 0 for the first one

file_name

Name of the png file to create. Note it may be hard to read it for big trees. Opens in Chrome.

h2o_model

NULL by default. If you haven't saved a mojo file yet you can get to it from R environment. This

location_of_h2o_jar

null by

Value

Returns a plot of the tree. It may be hard to read since trees can be hard to view. Best place to look at this is in chrome.


jmp1989/easyr documentation built on May 20, 2019, 7:25 a.m.