All Bundles

Hyperparameters

Hyperparameters controlling the tuning process

Implements: Stringify

Operations

New

Constructor

New(batch_size:Int, learning_rate:Float, epoch_count:Int)
Parameters
NameTypeDescription
batch_sizeIntthe batch size hyperparameter for tuning
learning_rateFloatthe learning rate hyperparameter for tuning
epoch_countIntnumber of training epochs

Constructor

New(batch_size:Int, learning_rate:Float, epoch_count:Int, learning_rate_multiplier:Float)
Parameters
NameTypeDescription
batch_sizeIntbatch size hyperparameter for tuning
learning_rateFloatlearning rate hyperparameter for tuning
epoch_countIntnumber of training epochs
learning_rate_multiplierFloatlearning rate multiplier is used to calculate a final learningrate based on the default (recommended) value

GetBatchSize

Get the batch size hyperparameter for tuning

method : public : GetBatchSize() ~ Int
Return
TypeDescription
Intbatch size hyperparameter for tuning

GetEpochCount

Get the number of training epochs

method : public : GetEpochCount() ~ Int
Return
TypeDescription
Intnumber of training epochs

GetLearningRate

Get the learning rate hyperparameter for tuning

method : public : GetLearningRate() ~ Float
Return
TypeDescription
Floatlearning rate hyperparameter for tuning

GetLearningRateMultiplier

Get the learning rate multiplier

method : public : GetLearningRateMultiplier() ~ Float
Return
TypeDescription
Floatlearning rate multiplier

ToJson

JSON representation of the instance

method : public : ToJson() ~ JsonElement
Return
TypeDescription
JsonElementJSON representation of the instance

ToString

JSON string representation of the instance

method : public : ToString() ~ String
Return
TypeDescription
StringJSON string representation of the instance