Package com.oracle.bmc.datascience.model
Class Metadata.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.Metadata.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Metadata
build()
Metadata.Builder
category(String category)
Category of model metadata which should be null for defined metadata.For custom metadata is should be one of the following values “Performance,Training Profile,Training and Validation Datasets,Training Environment,Reports,Readme,other”.Metadata.Builder
copy(Metadata model)
Metadata.Builder
description(String description)
Description of model metadataMetadata.Builder
hasArtifact(Boolean hasArtifact)
Is there any artifact present for the metadata.Metadata.Builder
key(String key)
Key of the model Metadata.Metadata.Builder
keywords(List<String> keywords)
list of keywords for searchingMetadata.Builder
value(String value)
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other
-
-
-
Method Detail
-
key
public Metadata.Builder key(String key)
Key of the model Metadata.The key can either be user defined or OCI defined. List of OCI defined keys: * useCaseType * libraryName * libraryVersion * estimatorClass * hyperParameters * testArtifactresults * fineTuningConfiguration * deploymentConfiguration
- readme * license * evaluationConfiguration
- Parameters:
key
- the value to set- Returns:
- this builder
-
value
public Metadata.Builder value(String value)
Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, otherAllowed values for libraryName: scikit-learn, xgboost, tensorflow, pytorch, mxnet, keras, lightGBM, pymc3, pyOD, spacy, prophet, sktime, statsmodels, cuml, oracle_automl, h2o, transformers, nltk, emcee, pystan, bert, gensim, flair, word2vec, ensemble, other
- Parameters:
value
- the value to set- Returns:
- this builder
-
description
public Metadata.Builder description(String description)
Description of model metadata- Parameters:
description
- the value to set- Returns:
- this builder
-
category
public Metadata.Builder category(String category)
Category of model metadata which should be null for defined metadata.For custom metadata is should be one of the following values “Performance,Training Profile,Training and Validation Datasets,Training Environment,Reports,Readme,other”.- Parameters:
category
- the value to set- Returns:
- this builder
-
keywords
public Metadata.Builder keywords(List<String> keywords)
list of keywords for searching- Parameters:
keywords
- the value to set- Returns:
- this builder
-
hasArtifact
public Metadata.Builder hasArtifact(Boolean hasArtifact)
Is there any artifact present for the metadata.- Parameters:
hasArtifact
- the value to set- Returns:
- this builder
-
build
public Metadata build()
-
copy
public Metadata.Builder copy(Metadata model)
-
-