API#
ibm-watson-machine-learning
client contains different apis available for autoai and assets management.
Prerequisites#
Initialize the client using Watson Machine Learning instance details referring to the Setup section.
Modules#
- Core
- Connections
Connections
Connections.ConfigurationMetaNames
Connections.create()
Connections.delete()
Connections.get_datasource_type_uid_by_name()
Connections.get_details()
Connections.get_uid()
Connections.list()
Connections.list_datasource_types()
Connections.list_uploaded_db_drivers()
Connections.sign_db_driver_url()
Connections.upload_db_driver()
ConnectionMetaNames
- Data assets
- Deployments
Deployments
Deployments.create()
Deployments.create_job()
Deployments.delete()
Deployments.delete_job()
Deployments.generate()
Deployments.generate_text()
Deployments.generate_text_stream()
Deployments.get_details()
Deployments.get_download_url()
Deployments.get_href()
Deployments.get_id()
Deployments.get_job_details()
Deployments.get_job_href()
Deployments.get_job_status()
Deployments.get_job_uid()
Deployments.get_scoring_href()
Deployments.get_serving_href()
Deployments.get_uid()
Deployments.is_serving_name_available()
Deployments.list()
Deployments.list_jobs()
Deployments.score()
Deployments.update()
DeploymentNewMetaNames
RShinyAuthenticationValues
ScoringMetaNames
DecisionOptimizationMetaNames
- Export/Import
- Factsheets (IBM Cloud only)
- Hardware specifications
- Helpers
- Model definitions
ModelDefinition
ModelDefinition.ConfigurationMetaNames
ModelDefinition.create_revision()
ModelDefinition.delete()
ModelDefinition.download()
ModelDefinition.get_details()
ModelDefinition.get_href()
ModelDefinition.get_id()
ModelDefinition.get_revision_details()
ModelDefinition.get_uid()
ModelDefinition.list()
ModelDefinition.list_revisions()
ModelDefinition.store()
ModelDefinition.update()
ModelDefinitionMetaNames
- Package extensions
- Repository
Repository
Repository.ModelAssetTypes
Repository.create_experiment_revision()
Repository.create_function_revision()
Repository.create_member()
Repository.create_model_revision()
Repository.create_pipeline_revision()
Repository.create_revision()
Repository.delete()
Repository.download()
Repository.get_details()
Repository.get_experiment_details()
Repository.get_experiment_href()
Repository.get_experiment_id()
Repository.get_experiment_revision_details()
Repository.get_experiment_uid()
Repository.get_function_details()
Repository.get_function_href()
Repository.get_function_id()
Repository.get_function_revision_details()
Repository.get_function_uid()
Repository.get_member_href()
Repository.get_member_uid()
Repository.get_members_details()
Repository.get_model_details()
Repository.get_model_href()
Repository.get_model_id()
Repository.get_model_revision_details()
Repository.get_model_uid()
Repository.get_pipeline_details()
Repository.get_pipeline_href()
Repository.get_pipeline_id()
Repository.get_pipeline_revision_details()
Repository.get_pipeline_uid()
Repository.get_space_details()
Repository.get_space_href()
Repository.get_space_uid()
Repository.list()
Repository.list_experiments()
Repository.list_experiments_revisions()
Repository.list_functions()
Repository.list_functions_revisions()
Repository.list_members()
Repository.list_models()
Repository.list_models_revisions()
Repository.list_pipelines()
Repository.list_pipelines_revisions()
Repository.list_spaces()
Repository.load()
Repository.promote_model()
Repository.store_experiment()
Repository.store_function()
Repository.store_model()
Repository.store_pipeline()
Repository.store_space()
Repository.update_experiment()
Repository.update_function()
Repository.update_model()
Repository.update_pipeline()
Repository.update_space()
ModelMetaNames
ExperimentMetaNames
FunctionMetaNames
PipelineMetanames
- Runtimes
Runtimes
Runtimes.clone_library()
Runtimes.clone_runtime()
Runtimes.delete()
Runtimes.delete_library()
Runtimes.download_configuration()
Runtimes.download_library()
Runtimes.get_details()
Runtimes.get_href()
Runtimes.get_library_details()
Runtimes.get_library_href()
Runtimes.get_library_uid()
Runtimes.get_uid()
Runtimes.list()
Runtimes.list_libraries()
Runtimes.store()
Runtimes.store_library()
Runtimes.update_library()
Runtimes.update_runtime()
RuntimeMetaNames
- Script
- Service instance
- Set
- Shiny (IBM Cloud Pak for Data only)
- Software specifications
- Spaces
PlatformSpaces
PlatformSpaces.ConfigurationMetaNames
PlatformSpaces.MemberMetaNames
PlatformSpaces.create_member()
PlatformSpaces.delete()
PlatformSpaces.delete_member()
PlatformSpaces.get_details()
PlatformSpaces.get_id()
PlatformSpaces.get_member_details()
PlatformSpaces.get_uid()
PlatformSpaces.list()
PlatformSpaces.list_members()
PlatformSpaces.promote()
PlatformSpaces.store()
PlatformSpaces.update()
PlatformSpaces.update_member()
SpacesPlatformMetaNames
SpacesPlatformMemberMetaNames
- Training
- Enums
ClassificationAlgorithms
ClassificationAlgorithms.DT
ClassificationAlgorithms.EX_TREES
ClassificationAlgorithms.GB
ClassificationAlgorithms.LGBM
ClassificationAlgorithms.LR
ClassificationAlgorithms.RF
ClassificationAlgorithms.SnapBM
ClassificationAlgorithms.SnapDT
ClassificationAlgorithms.SnapLR
ClassificationAlgorithms.SnapRF
ClassificationAlgorithms.SnapSVM
ClassificationAlgorithms.XGB
ClassificationAlgorithmsCP4D
ClassificationAlgorithmsCP4D.DT
ClassificationAlgorithmsCP4D.EX_TREES
ClassificationAlgorithmsCP4D.GB
ClassificationAlgorithmsCP4D.LGBM
ClassificationAlgorithmsCP4D.LR
ClassificationAlgorithmsCP4D.RF
ClassificationAlgorithmsCP4D.SnapBM
ClassificationAlgorithmsCP4D.SnapDT
ClassificationAlgorithmsCP4D.SnapLR
ClassificationAlgorithmsCP4D.SnapRF
ClassificationAlgorithmsCP4D.SnapSVM
ClassificationAlgorithmsCP4D.XGB
DataConnectionTypes
Directions
ForecastingAlgorithms
ForecastingAlgorithmsCP4D
ForecastingPipelineTypes
ForecastingPipelineTypes.ARIMA
ForecastingPipelineTypes.ARIMAX
ForecastingPipelineTypes.ARIMAX_DMLR
ForecastingPipelineTypes.ARIMAX_PALR
ForecastingPipelineTypes.ARIMAX_RAR
ForecastingPipelineTypes.ARIMAX_RSAR
ForecastingPipelineTypes.Bats
ForecastingPipelineTypes.DifferenceFlattenEnsembler
ForecastingPipelineTypes.ExogenousDifferenceFlattenEnsembler
ForecastingPipelineTypes.ExogenousFlattenEnsembler
ForecastingPipelineTypes.ExogenousLocalizedFlattenEnsembler
ForecastingPipelineTypes.ExogenousMT2RForecaster
ForecastingPipelineTypes.ExogenousRandomForestRegressor
ForecastingPipelineTypes.ExogenousSVM
ForecastingPipelineTypes.FlattenEnsembler
ForecastingPipelineTypes.HoltWinterAdditive
ForecastingPipelineTypes.HoltWinterMultiplicative
ForecastingPipelineTypes.LocalizedFlattenEnsembler
ForecastingPipelineTypes.MT2RForecaster
ForecastingPipelineTypes.RandomForestRegressor
ForecastingPipelineTypes.SVM
ForecastingPipelineTypes.get_exogenous()
ForecastingPipelineTypes.get_non_exogenous()
ImputationStrategy
ImputationStrategy.BEST_OF_DEFAULT_IMPUTERS
ImputationStrategy.CUBIC
ImputationStrategy.FLATTEN_ITERATIVE
ImputationStrategy.LINEAR
ImputationStrategy.MEAN
ImputationStrategy.MEDIAN
ImputationStrategy.MOST_FREQUENT
ImputationStrategy.NEXT
ImputationStrategy.NO_IMPUTATION
ImputationStrategy.PREVIOUS
ImputationStrategy.VALUE
Metrics
Metrics.ACCURACY_AND_DISPARATE_IMPACT_SCORE
Metrics.ACCURACY_SCORE
Metrics.AVERAGE_PRECISION_SCORE
Metrics.EXPLAINED_VARIANCE_SCORE
Metrics.F1_SCORE
Metrics.F1_SCORE_MACRO
Metrics.F1_SCORE_MICRO
Metrics.F1_SCORE_WEIGHTED
Metrics.LOG_LOSS
Metrics.MEAN_ABSOLUTE_ERROR
Metrics.MEAN_SQUARED_ERROR
Metrics.MEAN_SQUARED_LOG_ERROR
Metrics.MEDIAN_ABSOLUTE_ERROR
Metrics.PRECISION_SCORE
Metrics.PRECISION_SCORE_MACRO
Metrics.PRECISION_SCORE_MICRO
Metrics.PRECISION_SCORE_WEIGHTED
Metrics.R2_AND_DISPARATE_IMPACT_SCORE
Metrics.R2_SCORE
Metrics.RECALL_SCORE
Metrics.RECALL_SCORE_MACRO
Metrics.RECALL_SCORE_MICRO
Metrics.RECALL_SCORE_WEIGHTED
Metrics.ROC_AUC_SCORE
Metrics.ROOT_MEAN_SQUARED_ERROR
Metrics.ROOT_MEAN_SQUARED_LOG_ERROR
MetricsToDirections
MetricsToDirections.ACCURACY
MetricsToDirections.AVERAGE_PRECISION
MetricsToDirections.EXPLAINED_VARIANCE
MetricsToDirections.F1
MetricsToDirections.F1_MACRO
MetricsToDirections.F1_MICRO
MetricsToDirections.F1_WEIGHTED
MetricsToDirections.NEG_LOG_LOSS
MetricsToDirections.NEG_MEAN_ABSOLUTE_ERROR
MetricsToDirections.NEG_MEAN_SQUARED_ERROR
MetricsToDirections.NEG_MEAN_SQUARED_LOG_ERROR
MetricsToDirections.NEG_MEDIAN_ABSOLUTE_ERROR
MetricsToDirections.NEG_ROOT_MEAN_SQUARED_ERROR
MetricsToDirections.NEG_ROOT_MEAN_SQUARED_LOG_ERROR
MetricsToDirections.NORMALIZED_GINI_COEFFICIENT
MetricsToDirections.PRECISION
MetricsToDirections.PRECISION_MACRO
MetricsToDirections.PRECISION_MICRO
MetricsToDirections.PRECISION_WEIGHTED
MetricsToDirections.R2
MetricsToDirections.RECALL
MetricsToDirections.RECALL_MACRO
MetricsToDirections.RECALL_MICRO
MetricsToDirections.RECALL_WEIGHTED
MetricsToDirections.ROC_AUC
PipelineTypes
PositiveLabelClass
PositiveLabelClass.AVERAGE_PRECISION_SCORE
PositiveLabelClass.F1_SCORE
PositiveLabelClass.F1_SCORE_MACRO
PositiveLabelClass.F1_SCORE_MICRO
PositiveLabelClass.F1_SCORE_WEIGHTED
PositiveLabelClass.PRECISION_SCORE
PositiveLabelClass.PRECISION_SCORE_MACRO
PositiveLabelClass.PRECISION_SCORE_MICRO
PositiveLabelClass.PRECISION_SCORE_WEIGHTED
PositiveLabelClass.RECALL_SCORE
PositiveLabelClass.RECALL_SCORE_MACRO
PositiveLabelClass.RECALL_SCORE_MICRO
PositiveLabelClass.RECALL_SCORE_WEIGHTED
PredictionType
RegressionAlgorithms
RegressionAlgorithmsCP4D
RegressionAlgorithmsCP4D.DT
RegressionAlgorithmsCP4D.EX_TREES
RegressionAlgorithmsCP4D.GB
RegressionAlgorithmsCP4D.LGBM
RegressionAlgorithmsCP4D.LR
RegressionAlgorithmsCP4D.RF
RegressionAlgorithmsCP4D.RIDGE
RegressionAlgorithmsCP4D.SnapBM
RegressionAlgorithmsCP4D.SnapDT
RegressionAlgorithmsCP4D.SnapRF
RegressionAlgorithmsCP4D.XGB
RunStateTypes
SamplingTypes
TShirtSize
TimeseriesAnomalyPredictionAlgorithms
TimeseriesAnomalyPredictionPipelineTypes
TimeseriesAnomalyPredictionPipelineTypes.PointwiseBoundedBATS
TimeseriesAnomalyPredictionPipelineTypes.PointwiseBoundedBATSForceUpdate
TimeseriesAnomalyPredictionPipelineTypes.PointwiseBoundedHoltWintersAdditive
TimeseriesAnomalyPredictionPipelineTypes.WindowLOF
TimeseriesAnomalyPredictionPipelineTypes.WindowNN
TimeseriesAnomalyPredictionPipelineTypes.WindowPCA
Transformers
Transformers.ABS
Transformers.CBRT
Transformers.COS
Transformers.CUBE
Transformers.DIFF
Transformers.DIVIDE
Transformers.FEATUREAGGLOMERATION
Transformers.ISOFORESTANOMALY
Transformers.LOG
Transformers.MAX
Transformers.MINMAXSCALER
Transformers.NXOR
Transformers.PCA
Transformers.PRODUCT
Transformers.ROUND
Transformers.SIGMOID
Transformers.SIN
Transformers.SQRT
Transformers.SQUARE
Transformers.STDSCALER
Transformers.SUM
Transformers.TAN
VisualizationTypes
- Connections
- Federated Learning
- Aggregation
- Local training
- Configure and start local training
RemoteTrainingSystem
RemoteTrainingSystem.create_party()
RemoteTrainingSystem.create_revision()
RemoteTrainingSystem.delete()
RemoteTrainingSystem.get_details()
RemoteTrainingSystem.get_id()
RemoteTrainingSystem.get_revision_details()
RemoteTrainingSystem.list()
RemoteTrainingSystem.list_revisions()
RemoteTrainingSystem.store()
RemoteTrainingSystem.update()
Party
- Configure and start local training
- AutoAI
- Working with AutoAI class and optimizer
- Configure optimizer with one data source
- Configure optimizer for time series forecasting
- Configure optimizer for time series forecasting with supporting features
- Get configuration parameters
- Fit optimizer
- Get run status, get run details
- Get data connections
- Get preprocessed data connection (joined data only)
- Summary
- Get pipeline details
- Get pipeline
- Working with deployments
- Web Service
- Batch
- Working with DataConnection
- AutoAI experiment
- AutoAI
AutoAI
AutoAI.ClassificationAlgorithms
AutoAI.ClassificationAlgorithms.DT
AutoAI.ClassificationAlgorithms.EX_TREES
AutoAI.ClassificationAlgorithms.GB
AutoAI.ClassificationAlgorithms.LGBM
AutoAI.ClassificationAlgorithms.LR
AutoAI.ClassificationAlgorithms.RF
AutoAI.ClassificationAlgorithms.SnapBM
AutoAI.ClassificationAlgorithms.SnapDT
AutoAI.ClassificationAlgorithms.SnapLR
AutoAI.ClassificationAlgorithms.SnapRF
AutoAI.ClassificationAlgorithms.SnapSVM
AutoAI.ClassificationAlgorithms.XGB
AutoAI.DataConnectionTypes
AutoAI.ForecastingAlgorithms
AutoAI.Metrics
AutoAI.Metrics.ACCURACY_AND_DISPARATE_IMPACT_SCORE
AutoAI.Metrics.ACCURACY_SCORE
AutoAI.Metrics.AVERAGE_PRECISION_SCORE
AutoAI.Metrics.EXPLAINED_VARIANCE_SCORE
AutoAI.Metrics.F1_SCORE
AutoAI.Metrics.F1_SCORE_MACRO
AutoAI.Metrics.F1_SCORE_MICRO
AutoAI.Metrics.F1_SCORE_WEIGHTED
AutoAI.Metrics.LOG_LOSS
AutoAI.Metrics.MEAN_ABSOLUTE_ERROR
AutoAI.Metrics.MEAN_SQUARED_ERROR
AutoAI.Metrics.MEAN_SQUARED_LOG_ERROR
AutoAI.Metrics.MEDIAN_ABSOLUTE_ERROR
AutoAI.Metrics.PRECISION_SCORE
AutoAI.Metrics.PRECISION_SCORE_MACRO
AutoAI.Metrics.PRECISION_SCORE_MICRO
AutoAI.Metrics.PRECISION_SCORE_WEIGHTED
AutoAI.Metrics.R2_AND_DISPARATE_IMPACT_SCORE
AutoAI.Metrics.R2_SCORE
AutoAI.Metrics.RECALL_SCORE
AutoAI.Metrics.RECALL_SCORE_MACRO
AutoAI.Metrics.RECALL_SCORE_MICRO
AutoAI.Metrics.RECALL_SCORE_WEIGHTED
AutoAI.Metrics.ROC_AUC_SCORE
AutoAI.Metrics.ROOT_MEAN_SQUARED_ERROR
AutoAI.Metrics.ROOT_MEAN_SQUARED_LOG_ERROR
AutoAI.PipelineTypes
AutoAI.PredictionType
AutoAI.RegressionAlgorithms
AutoAI.RegressionAlgorithms.DT
AutoAI.RegressionAlgorithms.EX_TREES
AutoAI.RegressionAlgorithms.GB
AutoAI.RegressionAlgorithms.LGBM
AutoAI.RegressionAlgorithms.LR
AutoAI.RegressionAlgorithms.RF
AutoAI.RegressionAlgorithms.RIDGE
AutoAI.RegressionAlgorithms.SnapBM
AutoAI.RegressionAlgorithms.SnapDT
AutoAI.RegressionAlgorithms.SnapRF
AutoAI.RegressionAlgorithms.XGB
AutoAI.SamplingTypes
AutoAI.TShirtSize
AutoAI.Transformers
AutoAI.Transformers.ABS
AutoAI.Transformers.CBRT
AutoAI.Transformers.COS
AutoAI.Transformers.CUBE
AutoAI.Transformers.DIFF
AutoAI.Transformers.DIVIDE
AutoAI.Transformers.FEATUREAGGLOMERATION
AutoAI.Transformers.ISOFORESTANOMALY
AutoAI.Transformers.LOG
AutoAI.Transformers.MAX
AutoAI.Transformers.MINMAXSCALER
AutoAI.Transformers.NXOR
AutoAI.Transformers.PCA
AutoAI.Transformers.PRODUCT
AutoAI.Transformers.ROUND
AutoAI.Transformers.SIGMOID
AutoAI.Transformers.SIN
AutoAI.Transformers.SQRT
AutoAI.Transformers.SQUARE
AutoAI.Transformers.STDSCALER
AutoAI.Transformers.SUM
AutoAI.Transformers.TAN
AutoAI.optimizer()
AutoAI.runs()
- AutoAI
- DataConnection Modules
- Deployment Modules for AutoAI models
- Working with AutoAI class and optimizer
- Foundation Models
- Modules
- Models
- Modules
- Model
Model
- Enums
GenTextParamsMetaNames
GenTextReturnOptMetaNames
DecodingMethods
ModelTypes
ModelTypes.CODELLAMA_34B_INSTRUCT_HF
ModelTypes.ELYZA_JAPANESE_LLAMA_2_7B_INSTRUCT
ModelTypes.FLAN_T5_XL
ModelTypes.FLAN_T5_XXL
ModelTypes.FLAN_UL2
ModelTypes.GPT_NEOX
ModelTypes.GRANITE_13B_CHAT
ModelTypes.GRANITE_13B_CHAT_V2
ModelTypes.GRANITE_13B_INSTRUCT
ModelTypes.GRANITE_13B_INSTRUCT_V2
ModelTypes.GRANITE_20B_MULTILINGUAL
ModelTypes.LLAMA_2_13B_CHAT
ModelTypes.LLAMA_2_70B_CHAT
ModelTypes.MIXTRAL_8X7B_INSTRUCT_V01_Q
ModelTypes.MPT_7B_INSTRUCT2
ModelTypes.MT0_XXL
ModelTypes.STARCODER
- ModelInference
ModelInference
for Deployments
- Model
- Modules
- Prompt Tuning
- Prompt Template Manager
- Extensions
- Helpers
- Custom models
- Models
- Modules