target.apidocs.com.google.api.services.bigquery.model.BqmlTrainingRun.TrainingOptions.html Maven / Gradle / Ivy
BqmlTrainingRun.TrainingOptions (BigQuery API v2-rev20210219-1.31.0)
com.google.api.services.bigquery.model
Class BqmlTrainingRun.TrainingOptions
- 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.BqmlTrainingRun.TrainingOptions
-
- Enclosing class:
- BqmlTrainingRun
public static final class BqmlTrainingRun.TrainingOptions
extends GenericJson
[Output-only, Beta] Training options used by this training run. These options are mutable for
subsequent training runs. Default values are explicitly stored for options not specified in the
input query of the first training run. For subsequent training runs, any option not explicitly
specified in the input query will be copied from the previous training run.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
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
TrainingOptions()
-
Method Summary
-
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
-
getEarlyStop
public Boolean getEarlyStop()
- Returns:
- value or
null
for none
-
setEarlyStop
public BqmlTrainingRun.TrainingOptions setEarlyStop(Boolean earlyStop)
- Parameters:
earlyStop
- earlyStop or null
for none
-
getL1Reg
public Double getL1Reg()
- Returns:
- value or
null
for none
-
setL1Reg
public BqmlTrainingRun.TrainingOptions setL1Reg(Double l1Reg)
- Parameters:
l1Reg
- l1Reg or null
for none
-
getL2Reg
public Double getL2Reg()
- Returns:
- value or
null
for none
-
setL2Reg
public BqmlTrainingRun.TrainingOptions setL2Reg(Double l2Reg)
- Parameters:
l2Reg
- l2Reg or null
for none
-
getLearnRate
public Double getLearnRate()
- Returns:
- value or
null
for none
-
setLearnRate
public BqmlTrainingRun.TrainingOptions setLearnRate(Double learnRate)
- Parameters:
learnRate
- learnRate or null
for none
-
getLearnRateStrategy
public String getLearnRateStrategy()
- Returns:
- value or
null
for none
-
setLearnRateStrategy
public BqmlTrainingRun.TrainingOptions setLearnRateStrategy(String learnRateStrategy)
- Parameters:
learnRateStrategy
- learnRateStrategy or null
for none
-
getLineSearchInitLearnRate
public Double getLineSearchInitLearnRate()
- Returns:
- value or
null
for none
-
setLineSearchInitLearnRate
public BqmlTrainingRun.TrainingOptions setLineSearchInitLearnRate(Double lineSearchInitLearnRate)
- Parameters:
lineSearchInitLearnRate
- lineSearchInitLearnRate or null
for none
-
getMaxIteration
public Long getMaxIteration()
- Returns:
- value or
null
for none
-
setMaxIteration
public BqmlTrainingRun.TrainingOptions setMaxIteration(Long maxIteration)
- Parameters:
maxIteration
- maxIteration or null
for none
-
getMinRelProgress
public Double getMinRelProgress()
- Returns:
- value or
null
for none
-
setMinRelProgress
public BqmlTrainingRun.TrainingOptions setMinRelProgress(Double minRelProgress)
- Parameters:
minRelProgress
- minRelProgress or null
for none
-
getWarmStart
public Boolean getWarmStart()
- Returns:
- value or
null
for none
-
setWarmStart
public BqmlTrainingRun.TrainingOptions setWarmStart(Boolean warmStart)
- Parameters:
warmStart
- warmStart or null
for none
-
set
public BqmlTrainingRun.TrainingOptions set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public BqmlTrainingRun.TrainingOptions clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy