Python SDK for Kubeflow Katib
Python 2.7 and 3.4+
pip install kubeflow-katib
Then import package:
from kubeflow import katib
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Our SDK is located in kubeflow-katib
PyPi package.
Katib Python SDK is published as part of the Katib patch releases.
You can check the release process here.
For each Katib patch release, we upload a new SDK version to the PyPi.
The SDK version is equal to the Katib version.
Please follow the examples to learn more about Katib SDK.
Class | Method | Description |
---|---|---|
KatibClient | create_experiment | Create the Katib Experiment |
KatibClient | get_experiment | Get the Katib Experiment |
KatibClient | get_suggestion | Get the Katib Suggestion |
KatibClient | delete_experiment | Delete the Katib Experiment |
KatibClient | list_experiments | List all Katib Experiments |
KatibClient | get_experiment_status | Get the Experiment current status |
KatibClient | is_experiment_succeeded | Check if Experiment has succeeded |
KatibClient | list_trials | List all Experiment's Trials |
KatibClient | get_success_trial_details | Get the Trial details that have succeeded for an Experiment |
KatibClient | get_optimal_hyperparameters | Get the current optimal Trial from the Experiment |
- V1beta1AlgorithmSetting
- V1beta1AlgorithmSpec
- V1beta1CollectorSpec
- V1beta1ConfigMapSource
- V1beta1EarlyStoppingRule
- V1beta1EarlyStoppingSetting
- V1beta1EarlyStoppingSpec
- V1beta1Experiment
- V1beta1ExperimentCondition
- V1beta1ExperimentList
- V1beta1ExperimentSpec
- V1beta1ExperimentStatus
- V1beta1FeasibleSpace
- V1beta1FileSystemPath
- V1beta1FilterSpec
- V1beta1GraphConfig
- V1beta1Metric
- V1beta1MetricStrategy
- V1beta1MetricsCollectorSpec
- V1beta1NasConfig
- V1beta1ObjectiveSpec
- V1beta1Observation
- V1beta1Operation
- V1beta1OptimalTrial
- V1beta1ParameterAssignment
- V1beta1ParameterSpec
- V1beta1SourceSpec
- V1beta1Suggestion
- V1beta1SuggestionCondition
- V1beta1SuggestionList
- V1beta1SuggestionSpec
- V1beta1SuggestionStatus
- V1beta1Trial
- V1beta1TrialAssignment
- V1beta1TrialCondition
- V1beta1TrialList
- V1beta1TrialParameterSpec
- V1beta1TrialSource
- V1beta1TrialSpec
- V1beta1TrialStatus
- V1beta1TrialTemplate
All endpoints do not require authorization.
prem0912