Description Usage Arguments Value
View the splitting of a decision tree in an image.
1 | ezr.h2o_viewtree(mojo_location, print_tree = 0, file_name = "mymodel")
|
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 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.