Metadata¶
- class oci.data_science.models.Metadata(**kwargs)¶
Bases:
objectDefines properties of each model metadata.
Methods:
__init__(**kwargs)Initializes a new Metadata object with values from keyword arguments.
Attributes:
Gets the category of this Metadata.
Gets the description of this Metadata.
Gets the has_artifact of this Metadata.
Gets the key of this Metadata. 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.
Gets the keywords of this Metadata.
Gets the value of this Metadata. 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.
- __init__(**kwargs)¶
Initializes a new Metadata object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
key (str) – The value to assign to the key property of this Metadata.
value (str) – The value to assign to the value property of this Metadata.
description (str) – The value to assign to the description property of this Metadata.
category (str) – The value to assign to the category property of this Metadata.
keywords (list[str]) – The value to assign to the keywords property of this Metadata.
has_artifact (bool) – The value to assign to the has_artifact property of this Metadata.
- property category¶
Gets the category of this Metadata. 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”.
- Returns
The category of this Metadata.
- Return type
str
- property description¶
Gets the description of this Metadata. Description of model metadata
- Returns
The description of this Metadata.
- Return type
str
- property has_artifact¶
Gets the has_artifact of this Metadata. Is there any artifact present for the metadata.
- Returns
The has_artifact of this Metadata.
- Return type
bool
- property key¶
Gets the key of this Metadata. 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
- Returns
The key of this Metadata.
- Return type
str
- property keywords¶
Gets the keywords of this Metadata. list of keywords for searching
- Returns
The keywords of this Metadata.
- Return type
list[str]
- property value¶
Gets the value of this Metadata. 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
- Allowed 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
- Returns
The value of this Metadata.
- Return type
str