Files
katib/sdk/python/v1beta1/README.md
T
Andrey VelichkevichandGitHub 2992c5706f Upload python SDK version (#1335)
* Upload 0.0.4 SDK version

* Fix doc links

* Fix links in README

* Modify tables

* Fix link

* Remove

* Modify client and gen script

* Update version to 0.0.5

* Run CI

* Add Katib client to init
2020-09-15 02:42:07 -07:00

5.2 KiB

Kubeflow Katib SDK

Python SDK for Kubeflow Katib

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

pip install kubeflow-katib

Then import package:

from kubeflow import katib

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Upload new version to PyPi

Our SDK is located in kubeflow-katib PyPi package. If you want to release new SDK version with updated API you have to ask anyone from OWNERS file to follow these steps:

  • Update version in setup.py

  • Generate distributive packages: python3 setup.py sdist bdist_wheel

  • Upload package to PyPi: twine upload dist/*

Getting Started

Please follow the examples to learn more about Katib SDK.

Documentation for API Endpoints

Class Method Description
KatibClient create_experiment Create Katib Experiment
KatibClient get_experiment Get or watch the specified Experiment or all Experiment in the namespace
KatibClient delete_experiment Delete specified Experiment
KatibClient list_experiments List all Experiments with status
KatibClient get_experiment_status Get Experiment status
KatibClient is_experiment_succeeded Check if Experiment status is Succeeded
KatibClient list_trials List all Trials of specified Experiment
KatibClient get_optimal_hyperparameters Get currentOptimalTrial with parameterAssignments of an Experiment

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

prem0912