Prediction API v1.4 (revision 32)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
E
G
H
I
O
P
S
T
U
B
build()
- Method in class com.google.api.services.prediction.
Prediction.Builder
Builds a new instance of
Prediction
.
buildHttpRequestUsingHead()
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
C
com.google.api.services.prediction
- package com.google.api.services.prediction
com.google.api.services.prediction.model
- package com.google.api.services.prediction.model
D
DEFAULT_BASE_URL
- Static variable in class com.google.api.services.prediction.
Prediction
Deprecated.
(scheduled to be removed in 1.13)
DEFAULT_ROOT_URL
- Static variable in class com.google.api.services.prediction.
Prediction
The default encoded root URL of the service.
DEFAULT_SERVICE_PATH
- Static variable in class com.google.api.services.prediction.
Prediction
The default encoded service path of the service.
delete(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels
Delete a trained model.
DEVSTORAGE_FULL_CONTROL
- Static variable in class com.google.api.services.prediction.
PredictionScopes
Manage your data and permissions in Google Cloud Storage.
DEVSTORAGE_READ_ONLY
- Static variable in class com.google.api.services.prediction.
PredictionScopes
View your data in Google Cloud Storage.
DEVSTORAGE_READ_WRITE
- Static variable in class com.google.api.services.prediction.
PredictionScopes
Manage your data in Google Cloud Storage.
E
executeUsingHead()
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
G
get(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels
Check training status of your model.
getAbstractGoogleClient()
- Method in class com.google.api.services.prediction.
PredictionRequest
getAlt()
- Method in class com.google.api.services.prediction.
PredictionRequest
Data format for the response.
getClassificationAccuracy()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
A number between 0.0 and 1.0, where 1.0 is 100% accurate.
getClassWeightedAccuracy()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Estimated accuracy of model taking utility weights into account [Categorical models only].
getConfusionMatrix()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
An output confusion matrix.
getConfusionMatrixRowTotals()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
A list of the confusion matrix row totals The value returned may be
null
.
getCsvInstance()
- Method in class com.google.api.services.prediction.model.
Input.InputInput
A list of input features, these can be strings or doubles.
getCsvInstance()
- Method in class com.google.api.services.prediction.model.
Update
The input features for this instance The value returned may be
null
.
getDataAnalysis()
- Method in class com.google.api.services.prediction.model.
Training
Data Analysis.
getFields()
- Method in class com.google.api.services.prediction.
PredictionRequest
Selector specifying which fields to include in a partial response.
getHostedModelName()
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
The name of a hosted model.
getId()
- Method in class com.google.api.services.prediction.model.
Output
The unique name for the predictive model.
getId()
- Method in class com.google.api.services.prediction.model.
Training
The unique name for the predictive model.
getId()
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Delete
The unique name for the predictive model.
getId()
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
The unique name for the predictive model.
getId()
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Predict
The unique name for the predictive model.
getId()
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Update
The unique name for the predictive model.
getInput()
- Method in class com.google.api.services.prediction.model.
Input
Input to the model for a prediction The value returned may be
null
.
getKey()
- Method in class com.google.api.services.prediction.
PredictionRequest
API key.
getKind()
- Method in class com.google.api.services.prediction.model.
Output
What kind of resource this is.
getKind()
- Method in class com.google.api.services.prediction.model.
Training
What kind of resource this is.
getLabel()
- Method in class com.google.api.services.prediction.model.
Output.OutputMulti
The class label.
getLabel()
- Method in class com.google.api.services.prediction.model.
Update
The class label of this instance The value returned may be
null
.
getMeanSquaredError()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
An estimated mean squared error.
getModelInfo()
- Method in class com.google.api.services.prediction.model.
Training
Model metadata.
getModelType()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Type of predictive model (CLASSIFICATION or REGRESSION) The value returned may be
null
.
getNumberInstances()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Number of valid data instances used in the trained model.
getNumberLabels()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Number of class labels in the trained model [Categorical models only].
getOauthToken()
- Method in class com.google.api.services.prediction.
PredictionRequest
OAuth 2.0 token for the current user.
getOutput()
- Method in class com.google.api.services.prediction.model.
Update
The generic output value - could be regression value or class label The value returned may be
null
.
getOutputLabel()
- Method in class com.google.api.services.prediction.model.
Output
The most likely class label [Categorical models only].
getOutputMulti()
- Method in class com.google.api.services.prediction.model.
Output
A list of class labels with their estimated probabilities [Categorical models only].
getOutputValue()
- Method in class com.google.api.services.prediction.model.
Output
The estimated regression value [Regression models only].
getPrettyPrint()
- Method in class com.google.api.services.prediction.
PredictionRequest
Returns response with indentations and line breaks.
getQuotaUser()
- Method in class com.google.api.services.prediction.
PredictionRequest
Available to use for quota purposes for server-side applications.
getScore()
- Method in class com.google.api.services.prediction.model.
Output.OutputMulti
The probability of the class label.
getSelfLink()
- Method in class com.google.api.services.prediction.model.
Output
A URL to re-request this resource.
getSelfLink()
- Method in class com.google.api.services.prediction.model.
Training
A URL to re-request this resource.
getStorageDataLocation()
- Method in class com.google.api.services.prediction.model.
Training
Google storage location of the training data file.
getStoragePMMLLocation()
- Method in class com.google.api.services.prediction.model.
Training
Google storage location of the preprocessing pmml file.
getStoragePMMLModelLocation()
- Method in class com.google.api.services.prediction.model.
Training
Google storage location of the pmml model file.
getTrainingStatus()
- Method in class com.google.api.services.prediction.model.
Training
The current status of the training job.
getUserIp()
- Method in class com.google.api.services.prediction.
PredictionRequest
IP address of the site where the request originates.
getUtility()
- Method in class com.google.api.services.prediction.model.
Training
A class weighting function, which allows the importance weights for class labels to be specified [Categorical models only].
getWarnings()
- Method in class com.google.api.services.prediction.model.
Training.DataAnalysis
The value returned may be
null
.
H
hostedmodels()
- Method in class com.google.api.services.prediction.
Prediction
An accessor for creating requests from the Hostedmodels collection.
I
initialize(AbstractGoogleClientRequest<?>)
- Method in class com.google.api.services.prediction.
Prediction
initializeJsonRequest(AbstractGoogleJsonClientRequest<?>)
- Method in class com.google.api.services.prediction.
PredictionRequestInitializer
initializePredictionRequest(PredictionRequest<?>)
- Method in class com.google.api.services.prediction.
PredictionRequestInitializer
Initializes Prediction request.
Input
- Class in
com.google.api.services.prediction.model
Model definition for Input.
Input()
- Constructor for class com.google.api.services.prediction.model.
Input
Input.InputInput
- Class in
com.google.api.services.prediction.model
Input to the model for a prediction
Input.InputInput()
- Constructor for class com.google.api.services.prediction.model.
Input.InputInput
insert(Training)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels
Begin training your model.
O
Output
- Class in
com.google.api.services.prediction.model
Model definition for Output.
Output()
- Constructor for class com.google.api.services.prediction.model.
Output
Output.OutputMulti
- Class in
com.google.api.services.prediction.model
Model definition for OutputOutputMulti.
Output.OutputMulti()
- Constructor for class com.google.api.services.prediction.model.
Output.OutputMulti
P
predict(String, Input)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels
Submit input and request an output against a hosted model.
predict(String, Input)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels
Submit model id and request a prediction Create a request for the method "trainedmodels.predict".
Prediction
- Class in
com.google.api.services.prediction
Service definition for Prediction (v1.4).
Prediction(HttpTransport, JsonFactory, HttpRequestInitializer)
- Constructor for class com.google.api.services.prediction.
Prediction
Constructor.
PREDICTION
- Static variable in class com.google.api.services.prediction.
PredictionScopes
Manage your data in the Google Prediction API.
Prediction.Builder
- Class in
com.google.api.services.prediction
Builder for
Prediction
.
Prediction.Builder(HttpTransport, JsonFactory, HttpRequestInitializer)
- Constructor for class com.google.api.services.prediction.
Prediction.Builder
Returns an instance of a new builder.
Prediction.Hostedmodels
- Class in
com.google.api.services.prediction
The "hostedmodels" collection of methods.
Prediction.Hostedmodels()
- Constructor for class com.google.api.services.prediction.
Prediction.Hostedmodels
Prediction.Hostedmodels.Predict
- Class in
com.google.api.services.prediction
Prediction.Hostedmodels.Predict(String, Input)
- Constructor for class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
Submit input and request an output against a hosted model.
Prediction.Trainedmodels
- Class in
com.google.api.services.prediction
The "trainedmodels" collection of methods.
Prediction.Trainedmodels()
- Constructor for class com.google.api.services.prediction.
Prediction.Trainedmodels
Prediction.Trainedmodels.Delete
- Class in
com.google.api.services.prediction
Prediction.Trainedmodels.Delete(String)
- Constructor for class com.google.api.services.prediction.
Prediction.Trainedmodels.Delete
Delete a trained model.
Prediction.Trainedmodels.Get
- Class in
com.google.api.services.prediction
Prediction.Trainedmodels.Get(String)
- Constructor for class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
Check training status of your model.
Prediction.Trainedmodels.Insert
- Class in
com.google.api.services.prediction
Prediction.Trainedmodels.Insert(Training)
- Constructor for class com.google.api.services.prediction.
Prediction.Trainedmodels.Insert
Begin training your model.
Prediction.Trainedmodels.Predict
- Class in
com.google.api.services.prediction
Prediction.Trainedmodels.Predict(String, Input)
- Constructor for class com.google.api.services.prediction.
Prediction.Trainedmodels.Predict
Submit model id and request a prediction Create a request for the method "trainedmodels.predict".
Prediction.Trainedmodels.Update
- Class in
com.google.api.services.prediction
Prediction.Trainedmodels.Update(String, Update)
- Constructor for class com.google.api.services.prediction.
Prediction.Trainedmodels.Update
Add new data to a trained model.
PredictionRequest
<
T
> - Class in
com.google.api.services.prediction
Prediction request.
PredictionRequest(Prediction, String, String, Object, Class<T>)
- Constructor for class com.google.api.services.prediction.
PredictionRequest
PredictionRequestInitializer
- Class in
com.google.api.services.prediction
Prediction request initializer for setting properties like key and userIp.
PredictionRequestInitializer()
- Constructor for class com.google.api.services.prediction.
PredictionRequestInitializer
PredictionRequestInitializer(String)
- Constructor for class com.google.api.services.prediction.
PredictionRequestInitializer
PredictionRequestInitializer(String, String)
- Constructor for class com.google.api.services.prediction.
PredictionRequestInitializer
PredictionScopes
- Class in
com.google.api.services.prediction
Available OAuth 2.0 scopes for use with the Prediction API.
S
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Delete
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Insert
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Predict
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Update
setAlt(String)
- Method in class com.google.api.services.prediction.
PredictionRequest
Data format for the response.
setApplicationName(String)
- Method in class com.google.api.services.prediction.
Prediction.Builder
setClassificationAccuracy(Double)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
A number between 0.0 and 1.0, where 1.0 is 100% accurate.
setClassWeightedAccuracy(Double)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Estimated accuracy of model taking utility weights into account [Categorical models only].
setConfusionMatrix(Map<String, Map<String, Double>>)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
An output confusion matrix.
setConfusionMatrixRowTotals(Map<String, Double>)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
A list of the confusion matrix row totals The value set may be
null
.
setCsvInstance(List<Object>)
- Method in class com.google.api.services.prediction.model.
Input.InputInput
A list of input features, these can be strings or doubles.
setCsvInstance(List<Object>)
- Method in class com.google.api.services.prediction.model.
Update
The input features for this instance The value set may be
null
.
setDataAnalysis(Training.DataAnalysis)
- Method in class com.google.api.services.prediction.model.
Training
Data Analysis.
setDisableGZipContent(boolean)
- Method in class com.google.api.services.prediction.
PredictionRequest
setFields(String)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
setFields(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Delete
setFields(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
setFields(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Insert
setFields(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Predict
setFields(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Update
setFields(String)
- Method in class com.google.api.services.prediction.
PredictionRequest
Selector specifying which fields to include in a partial response.
setGoogleClientRequestInitializer(GoogleClientRequestInitializer)
- Method in class com.google.api.services.prediction.
Prediction.Builder
setHostedModelName(String)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
The name of a hosted model.
setHttpRequestInitializer(HttpRequestInitializer)
- Method in class com.google.api.services.prediction.
Prediction.Builder
setId(String)
- Method in class com.google.api.services.prediction.model.
Output
The unique name for the predictive model.
setId(String)
- Method in class com.google.api.services.prediction.model.
Training
The unique name for the predictive model.
setId(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Delete
The unique name for the predictive model.
setId(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
The unique name for the predictive model.
setId(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Predict
The unique name for the predictive model.
setId(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Update
The unique name for the predictive model.
setInput(Input.InputInput)
- Method in class com.google.api.services.prediction.model.
Input
Input to the model for a prediction The value set may be
null
.
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Delete
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Insert
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Predict
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Update
setKey(String)
- Method in class com.google.api.services.prediction.
PredictionRequest
API key.
setKind(String)
- Method in class com.google.api.services.prediction.model.
Output
What kind of resource this is.
setKind(String)
- Method in class com.google.api.services.prediction.model.
Training
What kind of resource this is.
setLabel(String)
- Method in class com.google.api.services.prediction.model.
Output.OutputMulti
The class label.
setLabel(String)
- Method in class com.google.api.services.prediction.model.
Update
The class label of this instance The value set may be
null
.
setMeanSquaredError(Double)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
An estimated mean squared error.
setModelInfo(Training.ModelInfo)
- Method in class com.google.api.services.prediction.model.
Training
Model metadata.
setModelType(String)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Type of predictive model (CLASSIFICATION or REGRESSION) The value set may be
null
.
setNumberInstances(Long)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Number of valid data instances used in the trained model.
setNumberLabels(Long)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Number of class labels in the trained model [Categorical models only].
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Delete
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Insert
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Predict
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Update
setOauthToken(String)
- Method in class com.google.api.services.prediction.
PredictionRequest
OAuth 2.0 token for the current user.
setOutput(String)
- Method in class com.google.api.services.prediction.model.
Update
The generic output value - could be regression value or class label The value set may be
null
.
setOutputLabel(String)
- Method in class com.google.api.services.prediction.model.
Output
The most likely class label [Categorical models only].
setOutputMulti(List<Output.OutputMulti>)
- Method in class com.google.api.services.prediction.model.
Output
A list of class labels with their estimated probabilities [Categorical models only].
setOutputValue(Double)
- Method in class com.google.api.services.prediction.model.
Output
The estimated regression value [Regression models only].
setPredictionRequestInitializer(PredictionRequestInitializer)
- Method in class com.google.api.services.prediction.
Prediction.Builder
Set the
PredictionRequestInitializer
.
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Delete
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Insert
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Predict
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Update
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
PredictionRequest
Returns response with indentations and line breaks.
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Delete
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Insert
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Predict
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Update
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
PredictionRequest
Available to use for quota purposes for server-side applications.
setRequestHeaders(HttpHeaders)
- Method in class com.google.api.services.prediction.
PredictionRequest
setRootUrl(String)
- Method in class com.google.api.services.prediction.
Prediction.Builder
setScore(Double)
- Method in class com.google.api.services.prediction.model.
Output.OutputMulti
The probability of the class label.
setSelfLink(String)
- Method in class com.google.api.services.prediction.model.
Output
A URL to re-request this resource.
setSelfLink(String)
- Method in class com.google.api.services.prediction.model.
Training
A URL to re-request this resource.
setServicePath(String)
- Method in class com.google.api.services.prediction.
Prediction.Builder
setStorageDataLocation(String)
- Method in class com.google.api.services.prediction.model.
Training
Google storage location of the training data file.
setStoragePMMLLocation(String)
- Method in class com.google.api.services.prediction.model.
Training
Google storage location of the preprocessing pmml file.
setStoragePMMLModelLocation(String)
- Method in class com.google.api.services.prediction.model.
Training
Google storage location of the pmml model file.
setSuppressPatternChecks(boolean)
- Method in class com.google.api.services.prediction.
Prediction.Builder
setTrainingStatus(String)
- Method in class com.google.api.services.prediction.model.
Training
The current status of the training job.
setUserIp(String)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
setUserIp(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Delete
setUserIp(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Get
setUserIp(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Insert
setUserIp(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Predict
setUserIp(String)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels.Update
setUserIp(String)
- Method in class com.google.api.services.prediction.
PredictionRequest
IP address of the site where the request originates.
setUtility(List<Map<String, Double>>)
- Method in class com.google.api.services.prediction.model.
Training
A class weighting function, which allows the importance weights for class labels to be specified [Categorical models only].
setWarnings(List<String>)
- Method in class com.google.api.services.prediction.model.
Training.DataAnalysis
The value set may be
null
.
T
trainedmodels()
- Method in class com.google.api.services.prediction.
Prediction
An accessor for creating requests from the Trainedmodels collection.
Training
- Class in
com.google.api.services.prediction.model
Model definition for Training.
Training()
- Constructor for class com.google.api.services.prediction.model.
Training
Training.DataAnalysis
- Class in
com.google.api.services.prediction.model
Data Analysis.
Training.DataAnalysis()
- Constructor for class com.google.api.services.prediction.model.
Training.DataAnalysis
Training.ModelInfo
- Class in
com.google.api.services.prediction.model
Model metadata.
Training.ModelInfo()
- Constructor for class com.google.api.services.prediction.model.
Training.ModelInfo
U
Update
- Class in
com.google.api.services.prediction.model
Model definition for Update.
Update()
- Constructor for class com.google.api.services.prediction.model.
Update
update(String, Update)
- Method in class com.google.api.services.prediction.
Prediction.Trainedmodels
Add new data to a trained model.
B
C
D
E
G
H
I
O
P
S
T
U
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes