Class: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/ml_v1/classes.rb,
 generated/google/apis/ml_v1/representations.rb,
 generated/google/apis/ml_v1/representations.rb
Overview
Represents results of a prediction job.
Instance Attribute Summary collapse
- 
  
    
      #error_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of data instances which resulted in errors. 
- 
  
    
      #node_hours  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Node hours used by the batch prediction job. 
- 
  
    
      #output_path  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The output Google Cloud Storage location provided at the job creation time. 
- 
  
    
      #prediction_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of generated predictions. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudMlV1PredictionOutput 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudMlV1PredictionOutput. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1PredictionOutput
Returns a new instance of GoogleCloudMlV1PredictionOutput
| 964 965 966 | # File 'generated/google/apis/ml_v1/classes.rb', line 964 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#error_count ⇒ Fixnum
The number of data instances which resulted in errors.
Corresponds to the JSON property errorCount
| 947 948 949 | # File 'generated/google/apis/ml_v1/classes.rb', line 947 def error_count @error_count end | 
#node_hours ⇒ Float
Node hours used by the batch prediction job.
Corresponds to the JSON property nodeHours
| 952 953 954 | # File 'generated/google/apis/ml_v1/classes.rb', line 952 def node_hours @node_hours end | 
#output_path ⇒ String
The output Google Cloud Storage location provided at the job creation time.
Corresponds to the JSON property outputPath
| 957 958 959 | # File 'generated/google/apis/ml_v1/classes.rb', line 957 def output_path @output_path end | 
#prediction_count ⇒ Fixnum
The number of generated predictions.
Corresponds to the JSON property predictionCount
| 962 963 964 | # File 'generated/google/apis/ml_v1/classes.rb', line 962 def prediction_count @prediction_count end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 969 970 971 972 973 974 | # File 'generated/google/apis/ml_v1/classes.rb', line 969 def update!(**args) @error_count = args[:error_count] if args.key?(:error_count) @node_hours = args[:node_hours] if args.key?(:node_hours) @output_path = args[:output_path] if args.key?(:output_path) @prediction_count = args[:prediction_count] if args.key?(:prediction_count) end |