Description Usage Arguments Value Examples
Calls the h2o hex.genmodel.tools.PrintMojo function
1 2 | call_PrintMojo(h2o_jar, tree_no, mojo_zip, output_gv, detail = FALSE,
max_levels_to_print_per_edge = 10)
|
h2o_jar |
h2o.jar file, including path. |
tree_no |
tree number to export. |
mojo_zip |
h2o tree based mojo zip file, including path. |
output_gv |
.gv file to output to, including path. |
detail |
|
max_levels_to_print_per_edge |
max number of labels to print on an edge, if too small then splits from categorical variables with many levels will be represented as [X levels]. Default = 10 (the default value in the Java code). |
Outputs tree from mojo zip to specified .gv file.
1 2 | # input files must be in working directory
call_PrintMojo('h2o.jar', 4, 'mojo.zip', 'tree_4.gv')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.