h2o-3 icon indicating copy to clipboard operation
h2o-3 copied to clipboard

Improve Tree Class doc

Open maurever opened this issue 1 year ago • 3 comments

We need better documentation about our tree objects.

Issues and ideas:

  • We generate the Python doc about trees here: https://docs.h2o.ai/h2o/latest-stable/h2o-py/docs/tree.html (very short description at the beginning) and for R here https://docs.h2o.ai/h2o/latest-stable/h2o-r/docs/reference/H2OTree-class.html (no description). Some attributes have no description and example, for example, tree_decision_path and decision_paths.

  • Here is a ridiculous example about accessing the trees from MOJO: https://docs.h2o.ai/h2o/latest-stable/h2o-docs/mojo-capabilities.html#accessing-model-trees

  • Here is a nice blog post about tree traversing (https://dzone.com/articles/inspecting-decision-trees-in-h2o); we should have something similar in our documentation (real Java, Python, and R examples).

I suggest creating a separate page about trees in H2O where all available tree features are demonstrated.

If something like this is currently done, please share the link here. I did not find something like that.

Any other ideas or improvements are welcome.

maurever avatar Nov 15 '23 10:11 maurever

Hey there would love to take charge of that if that is alright. happy to help!

KossaiSbai avatar Nov 24 '23 21:11 KossaiSbai

Can any of the admins assign me to this issue?

KossaiSbai avatar Dec 18 '23 10:12 KossaiSbai

Hi @KossaiSbai. I assigned the issue to you. Thanks a lot for your interest. All our materials are open source, so feel free to use them. If you have questions, let me know.

maurever avatar Dec 18 '23 15:12 maurever