All URIs are relative to http://X.X.X.X/seldon-deploy/api/v1alpha1
Method | HTTP request | Description |
---|---|---|
explain_seldon_deployment | POST /namespaces/{namespace}/seldondeployments/{name}/explain | |
explain_seldon_pipeline | POST /namespaces/{namespace}/pipelines/{name}/explain |
object explain_seldon_deployment(namespace, name, explaindata=explaindata)
Create Seldon Deployment explanation
from __future__ import print_function
import time
import seldon_deploy_sdk
from seldon_deploy_sdk.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: OAuth2
configuration = seldon_deploy_sdk.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = seldon_deploy_sdk.ExplainApi(seldon_deploy_sdk.ApiClient(configuration))
namespace = 'namespace_example' # str | Namespace provides a logical grouping of resources
name = 'name_example' # str | Name identifies a resource
explaindata = NULL # object | Prediction contains predict payload (optional)
try:
api_response = api_instance.explain_seldon_deployment(namespace, name, explaindata=explaindata)
pprint(api_response)
except ApiException as e:
print("Exception when calling ExplainApi->explain_seldon_deployment: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
namespace | str | Namespace provides a logical grouping of resources | |
name | str | Name identifies a resource | |
explaindata | object | Prediction contains predict payload | [optional] |
object
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object explain_seldon_pipeline(namespace, name, explaindata=explaindata)
Create Seldon Pipeline explanation
from __future__ import print_function
import time
import seldon_deploy_sdk
from seldon_deploy_sdk.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: OAuth2
configuration = seldon_deploy_sdk.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = seldon_deploy_sdk.ExplainApi(seldon_deploy_sdk.ApiClient(configuration))
namespace = 'namespace_example' # str | Namespace provides a logical grouping of resources
name = 'name_example' # str | Name identifies a resource
explaindata = NULL # object | Prediction contains predict payload (optional)
try:
api_response = api_instance.explain_seldon_pipeline(namespace, name, explaindata=explaindata)
pprint(api_response)
except ApiException as e:
print("Exception when calling ExplainApi->explain_seldon_pipeline: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
namespace | str | Namespace provides a logical grouping of resources | |
name | str | Name identifies a resource | |
explaindata | object | Prediction contains predict payload | [optional] |
object
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]