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.94k stars 2k forks source link

support polymorphism in modelsService et al. in Retrofit REST API bindings #9790

Closed exalate-issue-sync[bot] closed 1 year ago

exalate-issue-sync[bot] commented 1 year ago

When we return a polymorphic collection, as in /Models, deserialize as the subclasses, not the parent class.

exalate-issue-sync[bot] commented 1 year ago

Raymond Peck commented: https://community.h2o.ai/questions/462/how-to-get-the-glmmodeloutputv3-response-object-af.html?childToView=581#answer-581

exalate-issue-sync[bot] commented 1 year ago

Gaurav Gupta commented: Hi Raymond and Pasha, As mentioned in [#https://community.h2o.ai/questions/462/how-to-get-the-glmmodeloutputv3-response-object-af.html?childToView=581#answer-581], I am still facing this issue in "h2o-bindings-3.10.0.7" . Please let me know if I am missing anything or it's a defect.

I am using 3.10.0.7 for h2o-bindings and for h2o core :- h2o-bindings:jar:3.10.0.7 com.squareup.retrofit2:retrofit:jar:2.0.1 com.squareup.retrofit2:converter-gson:jar:2.0.1 h2o-core 3.10.0.7 h2o-algos 3.10.0.7 h2o-app 3.10.0.7

Thanks Gaurav

h2o-ops commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-2859 Assignee: Pasha Stetsenko Reporter: Raymond Peck State: Resolved Fix Version: N/A Attachments: N/A Development PRs: Available

Linked PRs from JIRA

https://github.com/h2oai/h2o-3/pull/338