Skip to content

Latest commit

 

History

History
232 lines (160 loc) · 8.47 KB

MonitorApi.md

File metadata and controls

232 lines (160 loc) · 8.47 KB

seldon_deploy_sdk.MonitorApi

All URIs are relative to http://X.X.X.X/seldon-deploy/api/v1alpha1

Method HTTP request Description
seldon_deployment_feature_distributions POST /namespaces/{namespace}/seldondeployments/{name}/monitor/featuredistributions
seldon_deployment_feature_statistics POST /namespaces/{namespace}/seldondeployments/{name}/monitor/featurestatistics
seldon_pipeline_feature_distributions POST /namespaces/{namespace}/pipelines/{name}/monitor/featuredistributions
seldon_pipeline_feature_statistics POST /namespaces/{namespace}/pipelines/{name}/monitor/featurestatistics

seldon_deployment_feature_distributions

FeatureDistributionResponse seldon_deployment_feature_distributions(name, namespace, feature_data)

Get the specified Seldon Deployment predictions feature distribution

Example

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.MonitorApi(seldon_deploy_sdk.ApiClient(configuration))
name = 'name_example' # str | Name identifies a resource
namespace = 'namespace_example' # str | Namespace provides a logical grouping of resources
feature_data = seldon_deploy_sdk.DeploymentFeatureData() # DeploymentFeatureData | Deployment Feature Data

try:
    api_response = api_instance.seldon_deployment_feature_distributions(name, namespace, feature_data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MonitorApi->seldon_deployment_feature_distributions: %s\n" % e)

Parameters

Name Type Description Notes
name str Name identifies a resource
namespace str Namespace provides a logical grouping of resources
feature_data DeploymentFeatureData Deployment Feature Data

Return type

FeatureDistributionResponse

Authorization

OAuth2

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

seldon_deployment_feature_statistics

FeatureStatisticsResponse seldon_deployment_feature_statistics(name, namespace, feature_data)

Get the specified Seldon Deployment predictions feature statistics

Example

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.MonitorApi(seldon_deploy_sdk.ApiClient(configuration))
name = 'name_example' # str | Name identifies a resource
namespace = 'namespace_example' # str | Namespace provides a logical grouping of resources
feature_data = seldon_deploy_sdk.DeploymentFeatureData() # DeploymentFeatureData | Deployment Feature Data

try:
    api_response = api_instance.seldon_deployment_feature_statistics(name, namespace, feature_data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MonitorApi->seldon_deployment_feature_statistics: %s\n" % e)

Parameters

Name Type Description Notes
name str Name identifies a resource
namespace str Namespace provides a logical grouping of resources
feature_data DeploymentFeatureData Deployment Feature Data

Return type

FeatureStatisticsResponse

Authorization

OAuth2

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

seldon_pipeline_feature_distributions

FeatureDistributionResponse seldon_pipeline_feature_distributions(name, namespace, feature_data)

Get the specified Seldon Deployment predictions feature distribution

Example

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.MonitorApi(seldon_deploy_sdk.ApiClient(configuration))
name = 'name_example' # str | Name identifies a resource
namespace = 'namespace_example' # str | Namespace provides a logical grouping of resources
feature_data = seldon_deploy_sdk.DeploymentFeatureData() # DeploymentFeatureData | Deployment Feature Data

try:
    api_response = api_instance.seldon_pipeline_feature_distributions(name, namespace, feature_data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MonitorApi->seldon_pipeline_feature_distributions: %s\n" % e)

Parameters

Name Type Description Notes
name str Name identifies a resource
namespace str Namespace provides a logical grouping of resources
feature_data DeploymentFeatureData Deployment Feature Data

Return type

FeatureDistributionResponse

Authorization

OAuth2

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

seldon_pipeline_feature_statistics

FeatureStatisticsResponse seldon_pipeline_feature_statistics(name, namespace, feature_data)

Get the specified Seldon Deployment predictions feature statistics

Example

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.MonitorApi(seldon_deploy_sdk.ApiClient(configuration))
name = 'name_example' # str | Name identifies a resource
namespace = 'namespace_example' # str | Namespace provides a logical grouping of resources
feature_data = seldon_deploy_sdk.DeploymentFeatureData() # DeploymentFeatureData | Deployment Feature Data

try:
    api_response = api_instance.seldon_pipeline_feature_statistics(name, namespace, feature_data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MonitorApi->seldon_pipeline_feature_statistics: %s\n" % e)

Parameters

Name Type Description Notes
name str Name identifies a resource
namespace str Namespace provides a logical grouping of resources
feature_data DeploymentFeatureData Deployment Feature Data

Return type

FeatureStatisticsResponse

Authorization

OAuth2

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]