Package | Description |
---|---|
com.google.api.services.prediction | |
com.google.api.services.prediction.model |
Modifier and Type | Method and Description |
---|---|
Prediction.Trainedmodels.Insert |
Prediction.Trainedmodels.insert(java.lang.String project,
Insert content)
Train a Prediction API model.
|
Constructor and Description |
---|
Prediction.Trainedmodels.Insert(java.lang.String project,
Insert content)
Train a Prediction API model.
|
Modifier and Type | Method and Description |
---|---|
Insert |
Insert.clone() |
Insert |
Insert.set(java.lang.String fieldName,
java.lang.Object value) |
Insert |
Insert.setId(java.lang.String id)
The unique name for the predictive model.
|
Insert |
Insert.setModelType(java.lang.String modelType)
Type of predictive model (classification or regression).
|
Insert |
Insert.setSourceModel(java.lang.String sourceModel)
The Id of the model to be copied over.
|
Insert |
Insert.setStorageDataLocation(java.lang.String storageDataLocation)
Google storage location of the training data file.
|
Insert |
Insert.setStoragePMMLLocation(java.lang.String storagePMMLLocation)
Google storage location of the preprocessing pmml file.
|
Insert |
Insert.setStoragePMMLModelLocation(java.lang.String storagePMMLModelLocation)
Google storage location of the pmml model file.
|
Insert |
Insert.setTrainingInstances(java.util.List<Insert.TrainingInstances> trainingInstances)
Instances to train model on.
|
Insert |
Insert.setUtility(java.util.List<java.util.Map<java.lang.String,java.lang.Double>> utility)
A class weighting function, which allows the importance weights for class labels to be
specified (Categorical models only).
|