class Google::Apis::PredictionV1_6::Analyze::ModelDescription
Description of the model.
Attributes
An output confusion matrix. This shows an estimate for how this model will do in predictions. This is first indexed by the true class label. For each true class label, this provides a pair `predicted_label, count`, where count is the estimated number of times the model will predict the predicted label given the true label. Will not output if more then 100 classes (Categorical models only). Corresponds to the JSON property `confusionMatrix` @return [Hash<String,Hash<String,String>>]
A list of the confusion matrix row totals. Corresponds to the JSON property `confusionMatrixRowTotals` @return [Hash<String,String>]
Basic information about the model. Corresponds to the JSON property `modelinfo` @return [Google::Apis::PredictionV1_6::Insert2]
Public Class Methods
# File generated/google/apis/prediction_v1_6/classes.rb, line 339 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/prediction_v1_6/classes.rb, line 344 def update!(**args) @confusion_matrix = args[:confusion_matrix] if args.key?(:confusion_matrix) @confusion_matrix_row_totals = args[:confusion_matrix_row_totals] if args.key?(:confusion_matrix_row_totals) @modelinfo = args[:modelinfo] if args.key?(:modelinfo) end