target.apidocs.com.google.api.services.bigquery.model.MlStatistics.html Maven / Gradle / Ivy
MlStatistics (BigQuery API v2-rev20240905-2.0.0)
com.google.api.services.bigquery.model
Class MlStatistics
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.MlStatistics
-
public final class MlStatistics
extends com.google.api.client.json.GenericJson
Job statistics specific to a BigQuery ML training job.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
MlStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
MlStatistics
clone()
List<HparamTuningTrial>
getHparamTrials()
Output only.
List<IterationResult>
getIterationResults()
Results for all completed iterations.
Long
getMaxIterations()
Output only.
String
getModelType()
Output only.
String
getTrainingType()
Output only.
MlStatistics
set(String fieldName,
Object value)
MlStatistics
setHparamTrials(List<HparamTuningTrial> hparamTrials)
Output only.
MlStatistics
setIterationResults(List<IterationResult> iterationResults)
Results for all completed iterations.
MlStatistics
setMaxIterations(Long maxIterations)
Output only.
MlStatistics
setModelType(String modelType)
Output only.
MlStatistics
setTrainingType(String trainingType)
Output only.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getHparamTrials
public List<HparamTuningTrial> getHparamTrials()
Output only. Trials of a [hyperparameter tuning job](https://cloud.google.com/bigquery-
ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) sorted by trial_id.
- Returns:
- value or
null
for none
-
setHparamTrials
public MlStatistics setHparamTrials(List<HparamTuningTrial> hparamTrials)
Output only. Trials of a [hyperparameter tuning job](https://cloud.google.com/bigquery-
ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) sorted by trial_id.
- Parameters:
hparamTrials
- hparamTrials or null
for none
-
getIterationResults
public List<IterationResult> getIterationResults()
Results for all completed iterations. Empty for [hyperparameter tuning
jobs](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-
tuning-overview).
- Returns:
- value or
null
for none
-
setIterationResults
public MlStatistics setIterationResults(List<IterationResult> iterationResults)
Results for all completed iterations. Empty for [hyperparameter tuning
jobs](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-
tuning-overview).
- Parameters:
iterationResults
- iterationResults or null
for none
-
getMaxIterations
public Long getMaxIterations()
Output only. Maximum number of iterations specified as max_iterations in the 'CREATE MODEL'
query. The actual number of iterations may be less than this number due to early stop.
- Returns:
- value or
null
for none
-
setMaxIterations
public MlStatistics setMaxIterations(Long maxIterations)
Output only. Maximum number of iterations specified as max_iterations in the 'CREATE MODEL'
query. The actual number of iterations may be less than this number due to early stop.
- Parameters:
maxIterations
- maxIterations or null
for none
-
getModelType
public String getModelType()
Output only. The type of the model that is being trained.
- Returns:
- value or
null
for none
-
setModelType
public MlStatistics setModelType(String modelType)
Output only. The type of the model that is being trained.
- Parameters:
modelType
- modelType or null
for none
-
getTrainingType
public String getTrainingType()
Output only. Training type of the job.
- Returns:
- value or
null
for none
-
setTrainingType
public MlStatistics setTrainingType(String trainingType)
Output only. Training type of the job.
- Parameters:
trainingType
- trainingType or null
for none
-
set
public MlStatistics set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public MlStatistics clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.