Class Metadata.Builder

  • Enclosing class:
    Metadata

    public static class Metadata.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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, 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

        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