All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.bigquery.model.Model.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241027-2.0.0
Show newest version






Model (BigQuery API v2-rev20240905-2.0.0)












com.google.api.services.bigquery.model

Class Model

    • Constructor Detail

      • Model

        public Model()
    • Method Detail

      • getBestTrialId

        public Long getBestTrialId()
        The best trial_id across all training runs.
        Returns:
        value or null for none
      • setBestTrialId

        public Model setBestTrialId(Long bestTrialId)
        The best trial_id across all training runs.
        Parameters:
        bestTrialId - bestTrialId or null for none
      • getCreationTime

        public Long getCreationTime()
        Output only. The time when this model was created, in millisecs since the epoch.
        Returns:
        value or null for none
      • setCreationTime

        public Model setCreationTime(Long creationTime)
        Output only. The time when this model was created, in millisecs since the epoch.
        Parameters:
        creationTime - creationTime or null for none
      • getDefaultTrialId

        public Long getDefaultTrialId()
        Output only. The default trial_id to use in TVFs when the trial_id is not passed in. For single-objective [hyperparameter tuning](https://cloud.google.com/bigquery- ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, this is the best trial ID. For multi-objective [hyperparameter tuning](https://cloud.google.com/bigquery- ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, this is the smallest trial ID among all Pareto optimal trials.
        Returns:
        value or null for none
      • setDefaultTrialId

        public Model setDefaultTrialId(Long defaultTrialId)
        Output only. The default trial_id to use in TVFs when the trial_id is not passed in. For single-objective [hyperparameter tuning](https://cloud.google.com/bigquery- ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, this is the best trial ID. For multi-objective [hyperparameter tuning](https://cloud.google.com/bigquery- ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, this is the smallest trial ID among all Pareto optimal trials.
        Parameters:
        defaultTrialId - defaultTrialId or null for none
      • getDescription

        public String getDescription()
        Optional. A user-friendly description of this model.
        Returns:
        value or null for none
      • setDescription

        public Model setDescription(String description)
        Optional. A user-friendly description of this model.
        Parameters:
        description - description or null for none
      • getEncryptionConfiguration

        public EncryptionConfiguration getEncryptionConfiguration()
        Custom encryption configuration (e.g., Cloud KMS keys). This shows the encryption configuration of the model data while stored in BigQuery storage. This field can be used with PatchModel to update encryption key for an already encrypted model.
        Returns:
        value or null for none
      • setEncryptionConfiguration

        public Model setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
        Custom encryption configuration (e.g., Cloud KMS keys). This shows the encryption configuration of the model data while stored in BigQuery storage. This field can be used with PatchModel to update encryption key for an already encrypted model.
        Parameters:
        encryptionConfiguration - encryptionConfiguration or null for none
      • getEtag

        public String getEtag()
        Output only. A hash of this resource.
        Returns:
        value or null for none
      • setEtag

        public Model setEtag(String etag)
        Output only. A hash of this resource.
        Parameters:
        etag - etag or null for none
      • getExpirationTime

        public Long getExpirationTime()
        Optional. The time when this model expires, in milliseconds since the epoch. If not present, the model will persist indefinitely. Expired models will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created models.
        Returns:
        value or null for none
      • setExpirationTime

        public Model setExpirationTime(Long expirationTime)
        Optional. The time when this model expires, in milliseconds since the epoch. If not present, the model will persist indefinitely. Expired models will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created models.
        Parameters:
        expirationTime - expirationTime or null for none
      • getFeatureColumns

        public List<StandardSqlField> getFeatureColumns()
        Output only. Input feature columns for the model inference. If the model is trained with TRANSFORM clause, these are the input of the TRANSFORM clause.
        Returns:
        value or null for none
      • setFeatureColumns

        public Model setFeatureColumns(List<StandardSqlField> featureColumns)
        Output only. Input feature columns for the model inference. If the model is trained with TRANSFORM clause, these are the input of the TRANSFORM clause.
        Parameters:
        featureColumns - featureColumns or null for none
      • getFriendlyName

        public String getFriendlyName()
        Optional. A descriptive name for this model.
        Returns:
        value or null for none
      • setFriendlyName

        public Model setFriendlyName(String friendlyName)
        Optional. A descriptive name for this model.
        Parameters:
        friendlyName - friendlyName or null for none
      • getHparamSearchSpaces

        public HparamSearchSpaces getHparamSearchSpaces()
        Output only. All hyperparameter search spaces in this model.
        Returns:
        value or null for none
      • setHparamSearchSpaces

        public Model setHparamSearchSpaces(HparamSearchSpaces hparamSearchSpaces)
        Output only. All hyperparameter search spaces in this model.
        Parameters:
        hparamSearchSpaces - hparamSearchSpaces or null for none
      • getHparamTrials

        public List<HparamTuningTrial> getHparamTrials()
        Output only. Trials of a [hyperparameter tuning](https://cloud.google.com/bigquery- ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) model sorted by trial_id.
        Returns:
        value or null for none
      • setHparamTrials

        public Model setHparamTrials(List<HparamTuningTrial> hparamTrials)
        Output only. Trials of a [hyperparameter tuning](https://cloud.google.com/bigquery- ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) model sorted by trial_id.
        Parameters:
        hparamTrials - hparamTrials or null for none
      • getLabelColumns

        public List<StandardSqlField> getLabelColumns()
        Output only. Label columns that were used to train this model. The output of the model will have a "predicted_" prefix to these columns.
        Returns:
        value or null for none
      • setLabelColumns

        public Model setLabelColumns(List<StandardSqlField> labelColumns)
        Output only. Label columns that were used to train this model. The output of the model will have a "predicted_" prefix to these columns.
        Parameters:
        labelColumns - labelColumns or null for none
      • getLabels

        public Map<String,String> getLabels()
        The labels associated with this model. You can use these to organize and group your models. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.
        Returns:
        value or null for none
      • setLabels

        public Model setLabels(Map<String,String> labels)
        The labels associated with this model. You can use these to organize and group your models. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.
        Parameters:
        labels - labels or null for none
      • getLastModifiedTime

        public Long getLastModifiedTime()
        Output only. The time when this model was last modified, in millisecs since the epoch.
        Returns:
        value or null for none
      • setLastModifiedTime

        public Model setLastModifiedTime(Long lastModifiedTime)
        Output only. The time when this model was last modified, in millisecs since the epoch.
        Parameters:
        lastModifiedTime - lastModifiedTime or null for none
      • getLocation

        public String getLocation()
        Output only. The geographic location where the model resides. This value is inherited from the dataset.
        Returns:
        value or null for none
      • setLocation

        public Model setLocation(String location)
        Output only. The geographic location where the model resides. This value is inherited from the dataset.
        Parameters:
        location - location or null for none
      • getModelReference

        public ModelReference getModelReference()
        Required. Unique identifier for this model.
        Returns:
        value or null for none
      • setModelReference

        public Model setModelReference(ModelReference modelReference)
        Required. Unique identifier for this model.
        Parameters:
        modelReference - modelReference or null for none
      • getModelType

        public String getModelType()
        Output only. Type of the model resource.
        Returns:
        value or null for none
      • setModelType

        public Model setModelType(String modelType)
        Output only. Type of the model resource.
        Parameters:
        modelType - modelType or null for none
      • getOptimalTrialIds

        public List<Long> getOptimalTrialIds()
        Output only. For single-objective [hyperparameter tuning](https://cloud.google.com/bigquery- ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, it only contains the best trial. For multi-objective [hyperparameter tuning](https://cloud.google.com/bigquery- ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, it contains all Pareto optimal trials sorted by trial_id.
        Returns:
        value or null for none
      • setOptimalTrialIds

        public Model setOptimalTrialIds(List<Long> optimalTrialIds)
        Output only. For single-objective [hyperparameter tuning](https://cloud.google.com/bigquery- ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, it only contains the best trial. For multi-objective [hyperparameter tuning](https://cloud.google.com/bigquery- ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, it contains all Pareto optimal trials sorted by trial_id.
        Parameters:
        optimalTrialIds - optimalTrialIds or null for none
      • getRemoteModelInfo

        public RemoteModelInfo getRemoteModelInfo()
        Output only. Remote model info
        Returns:
        value or null for none
      • setRemoteModelInfo

        public Model setRemoteModelInfo(RemoteModelInfo remoteModelInfo)
        Output only. Remote model info
        Parameters:
        remoteModelInfo - remoteModelInfo or null for none
      • getTrainingRuns

        public List<TrainingRun> getTrainingRuns()
        Information for all training runs in increasing order of start_time.
        Returns:
        value or null for none
      • setTrainingRuns

        public Model setTrainingRuns(List<TrainingRun> trainingRuns)
        Information for all training runs in increasing order of start_time.
        Parameters:
        trainingRuns - trainingRuns or null for none
      • getTransformColumns

        public List<TransformColumn> getTransformColumns()
        Output only. This field will be populated if a TRANSFORM clause was used to train a model. TRANSFORM clause (if used) takes feature_columns as input and outputs transform_columns. transform_columns then are used to train the model.
        Returns:
        value or null for none
      • setTransformColumns

        public Model setTransformColumns(List<TransformColumn> transformColumns)
        Output only. This field will be populated if a TRANSFORM clause was used to train a model. TRANSFORM clause (if used) takes feature_columns as input and outputs transform_columns. transform_columns then are used to train the model.
        Parameters:
        transformColumns - transformColumns or null for none
      • set

        public Model set(String fieldName,
                         Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public Model clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy