Services
Overview
PredictionService
Initialization
PredictionService(http_client, api_client)execute_prediction(data, model_id, **options)
execute_single_point_prediction(data, model_id)
execute_batch_prediction(data, model_id, wait_for_completion=True)
retrieve_batch_job_status(job_id)
monitor_batch_job_until_complete(job, poll_interval=10, max_wait_time=None)
validate_prediction_data(data, model_id)
ModelTrainingService
Initialization
initiate_training_job(...)
retrieve_training_job_status(job_id)
monitor_training_job_until_complete(job, poll_interval=10, max_wait_time=None)
retrieve_training_job_results(job_id)
WorkspaceManager
Initialization
retrieve_default_workspace()
retrieve_workspace_by_name(workspace_name)
retrieve_workspace_by_id(workspace_id)
list_accessible_workspaces()
workspace_exists(workspace_name)
count_accessible_workspaces()
ProjectManager
Initialization
retrieve_project_by_name(project_name)
retrieve_project_by_id(project_id)
list_accessible_projects(workspace_id=None)
project_exists(project_name)
count_accessible_projects(workspace_id=None)
search_projects_by_name_pattern(pattern)
HealthChecker
Initialization
check_connection()
check_authentication()
check_api_endpoints()
run_diagnostics()
measure_latency(num_requests=5)
test_network_reliability(num_attempts=10)
ModelRegistry
Initialization
list_models(workspace_id=None, project_id=None, limit=None)
get_model(model_id)
search_models(name=None, tags=None, created_after=None, created_before=None)
get_model_metadata(model_id)
compare_models(model_ids)
get_model_stats(workspace_id=None)
get_deployment_history(workspace_id=None, days=30)
find_models_by_name(name_pattern, case_sensitive=False)
find_recent_models(days=7)
BatchPredictionJob
Attributes
TrainingJob
Attributes
See Also
Was this helpful?