h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.82k stars 2k forks source link

Improve POJO documentation #16196

Open maurever opened 2 months ago

maurever commented 2 months ago

Actualize this part of the doc: https://docs.h2o.ai/h2o/latest-stable/h2o-docs/productionizing.html#pojo-quick-start

cc: @wendycwong , @valenad1, @hannah-tillman

wendycwong commented 2 months ago

@maurever : You are right that about POJO not being supported by new algorithms. POJOs for algos that we support have not been changed or updated and we in general discourage the use of POJOs.

The code to generate POJO for models that support it can be found in toJavaPredictBody and this code has not been changed much when new features are added to the algos.

A list of algos that do not support POJOs will be a good idea to list.

For algos that support POJOs, please warn users that they only support features that exist at or before 2015???? (not sure when we decided not to continue updating POJOs. It is probably around the same time when Michalk starts working at H2O).