autogluon / autogluon-cloud

Autogluon-cloud aims to provide user tools to train, fine-tune and deploy AutoGluon backed models on the cloud. With just a few lines of codes, users could train a model and perform inference on the cloud without worrying about MLOps details such as resource management
Apache License 2.0
18 stars 12 forks source link

Add kwargs support to `TabularCloudPredictor.predict()` #112

Open Innixma opened 6 months ago

Innixma commented 6 months ago

TabularCloudPredictor.predict_real_time() has kwargs support to pass extra arguments to TabularPredictor.predict, ditto for predict_proba.

For example, the user should be able to pass TabularCloudPredictor.predict(..., decision_threshold=0.4) which then calls TabularPredictor.predict(..., decision_threshold=0.4).

Doc Strings:

https://auto.gluon.ai/cloud/dev/api/autogluon.cloud.TabularCloudPredictor.predict_real_time.html https://auto.gluon.ai/cloud/dev/api/autogluon.cloud.TabularCloudPredictor.predict.html https://auto.gluon.ai/stable/api/autogluon.tabular.TabularPredictor.predict.html