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

Model serialization REST end-point needs model_id to be specified two times #14796

Open exalate-issue-sync[bot] opened 1 year ago

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

Just an FYI, if it helps anyone else using the API in Simons or more recent:

when you do a /99/Models.bin request with the model_id and the directory, you actually have to pass the model_id twice, once as a regular parameter, but also as part of the actual call

so if your model_id is AWESOMEMODEL and directory is DIR, you'd need to do:

/99/Models.bin/AWESOMEMODEL?model_id=AWESOMEMODEL&dir=DIR

or at least that's what worked for me

DinukaH2O commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-1838 Assignee: UNASSIGNED Reporter: Michal Malohlava State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A