Class: Google::Apis::BigqueryV2::BqmlIterationResult
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::BqmlIterationResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#duration_ms ⇒ Fixnum
Deprecated.
-
#eval_loss ⇒ Float
Deprecated.
-
#index ⇒ Fixnum
Deprecated.
-
#learn_rate ⇒ Float
Deprecated.
-
#training_loss ⇒ Float
Deprecated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BqmlIterationResult
constructor
A new instance of BqmlIterationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BqmlIterationResult
Returns a new instance of BqmlIterationResult.
1151 1152 1153 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#duration_ms ⇒ Fixnum
Deprecated.
Corresponds to the JSON property durationMs
1129 1130 1131 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1129 def duration_ms @duration_ms end |
#eval_loss ⇒ Float
Deprecated.
Corresponds to the JSON property evalLoss
1134 1135 1136 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1134 def eval_loss @eval_loss end |
#index ⇒ Fixnum
Deprecated.
Corresponds to the JSON property index
1139 1140 1141 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1139 def index @index end |
#learn_rate ⇒ Float
Deprecated.
Corresponds to the JSON property learnRate
1144 1145 1146 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1144 def learn_rate @learn_rate end |
#training_loss ⇒ Float
Deprecated.
Corresponds to the JSON property trainingLoss
1149 1150 1151 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1149 def training_loss @training_loss end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1156 1157 1158 1159 1160 1161 1162 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1156 def update!(**args) @duration_ms = args[:duration_ms] if args.key?(:duration_ms) @eval_loss = args[:eval_loss] if args.key?(:eval_loss) @index = args[:index] if args.key?(:index) @learn_rate = args[:learn_rate] if args.key?(:learn_rate) @training_loss = args[:training_loss] if args.key?(:training_loss) end |