Class: Google::Apis::BigqueryV2::BqmlIterationResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BqmlIterationResult

Returns a new instance of BqmlIterationResult.



1152
1153
1154
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1152

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#duration_msFixnum

Deprecated. Corresponds to the JSON property durationMs

Returns:

  • (Fixnum)


1130
1131
1132
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1130

def duration_ms
  @duration_ms
end

#eval_lossFloat

Deprecated. Corresponds to the JSON property evalLoss

Returns:

  • (Float)


1135
1136
1137
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1135

def eval_loss
  @eval_loss
end

#indexFixnum

Deprecated. Corresponds to the JSON property index

Returns:

  • (Fixnum)


1140
1141
1142
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1140

def index
  @index
end

#learn_rateFloat

Deprecated. Corresponds to the JSON property learnRate

Returns:

  • (Float)


1145
1146
1147
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1145

def learn_rate
  @learn_rate
end

#training_lossFloat

Deprecated. Corresponds to the JSON property trainingLoss

Returns:

  • (Float)


1150
1151
1152
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1150

def training_loss
  @training_loss
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1157
1158
1159
1160
1161
1162
1163
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1157

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