class Google::Apis::PredictionV1_6::Insert
Attributes
The unique name for the predictive model. Corresponds to the JSON property `id` @return [String]
Type of predictive model (classification or regression). Corresponds to the JSON property `modelType` @return [String]
The Id of the model to be copied over. Corresponds to the JSON property `sourceModel` @return [String]
Google storage location of the training data file. Corresponds to the JSON property `storageDataLocation` @return [String]
Google storage location of the preprocessing pmml file. Corresponds to the JSON property `storagePMMLLocation` @return [String]
Google storage location of the pmml model file. Corresponds to the JSON property `storagePMMLModelLocation` @return [String]
Instances to train model on. Corresponds to the JSON property `trainingInstances` @return [Array<Google::Apis::PredictionV1_6::Insert::TrainingInstance>]
A class weighting function, which allows the importance weights for class labels to be specified (Categorical models only). Corresponds to the JSON property `utility` @return [Array<Hash<String,Float>>]
Public Class Methods
# File generated/google/apis/prediction_v1_6/classes.rb, line 435 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/prediction_v1_6/classes.rb, line 440 def update!(**args) @id = args[:id] if args.key?(:id) @model_type = args[:model_type] if args.key?(:model_type) @source_model = args[:source_model] if args.key?(:source_model) @storage_data_location = args[:storage_data_location] if args.key?(:storage_data_location) @storage_pmml_location = args[:storage_pmml_location] if args.key?(:storage_pmml_location) @storage_pmml_model_location = args[:storage_pmml_model_location] if args.key?(:storage_pmml_model_location) @training_instances = args[:training_instances] if args.key?(:training_instances) @utility = args[:utility] if args.key?(:utility) end