Prediction API v1.3 (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.Training.Get
C
clone()
- Method in class com.google.api.services.prediction.model.
Input
clone()
- Method in class com.google.api.services.prediction.model.
Input.InputInput
clone()
- Method in class com.google.api.services.prediction.model.
Output
clone()
- Method in class com.google.api.services.prediction.model.
Output.OutputMulti
clone()
- Method in class com.google.api.services.prediction.model.
Training
clone()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
clone()
- Method in class com.google.api.services.prediction.model.
Update
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
The default encoded base URL of the service.
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.Training
Delete a trained model Create a request for the method "training.delete".
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.Training.Get
G
get(String)
- Method in class com.google.api.services.prediction.
Prediction.Training
Check training status of your model Create a request for the method "training.get".
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.
getClassLabel()
- Method in class com.google.api.services.prediction.model.
Update
The true class label of this instance
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
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
getData()
- Method in class com.google.api.services.prediction.
Prediction.Training.Delete
mybucket/mydata resource in Google Storage
getData()
- Method in class com.google.api.services.prediction.
Prediction.Training.Get
mybucket/mydata resource in Google Storage
getData()
- Method in class com.google.api.services.prediction.
Prediction.Training.Predict
mybucket/mydata resource in Google Storage
getData()
- Method in class com.google.api.services.prediction.
Prediction.Training.Update
mybucket/mydata resource in Google Storage
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.
getInput()
- Method in class com.google.api.services.prediction.model.
Input
Input to the model for a prediction
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.
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)
getNumberClasses()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Number of classes in the trained model [Categorical models only].
getNumberInstances()
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Number of valid data instances used in the trained model.
getOauthToken()
- Method in class com.google.api.services.prediction.
PredictionRequest
OAuth 2.0 token for the current user.
getOutputLabel()
- Method in class com.google.api.services.prediction.model.
Output
The most likely class [Categorical models only].
getOutputMulti()
- Method in class com.google.api.services.prediction.model.
Output
A list of classes 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.
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.
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 classes to be specified [Categorical models only].
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.Training
Begin training your model Create a request for the method "training.insert".
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 Create a request for the method "hostedmodels.predict".
predict(String, Input)
- Method in class com.google.api.services.prediction.
Prediction.Training
Submit data and request a prediction Create a request for the method "training.predict".
Prediction
- Class in
com.google.api.services.prediction
Service definition for Prediction (v1.3).
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 Create a request for the method "hostedmodels.predict".
Prediction.Training
- Class in
com.google.api.services.prediction
The "training" collection of methods.
Prediction.Training()
- Constructor for class com.google.api.services.prediction.
Prediction.Training
Prediction.Training.Delete
- Class in
com.google.api.services.prediction
Prediction.Training.Delete(String)
- Constructor for class com.google.api.services.prediction.
Prediction.Training.Delete
Delete a trained model Create a request for the method "training.delete".
Prediction.Training.Get
- Class in
com.google.api.services.prediction
Prediction.Training.Get(String)
- Constructor for class com.google.api.services.prediction.
Prediction.Training.Get
Check training status of your model Create a request for the method "training.get".
Prediction.Training.Insert
- Class in
com.google.api.services.prediction
Prediction.Training.Insert(Training)
- Constructor for class com.google.api.services.prediction.
Prediction.Training.Insert
Begin training your model Create a request for the method "training.insert".
Prediction.Training.Predict
- Class in
com.google.api.services.prediction
Prediction.Training.Predict(String, Input)
- Constructor for class com.google.api.services.prediction.
Prediction.Training.Predict
Submit data and request a prediction Create a request for the method "training.predict".
Prediction.Training.Update
- Class in
com.google.api.services.prediction
Prediction.Training.Update(String, Update)
- Constructor for class com.google.api.services.prediction.
Prediction.Training.Update
Add new data to a trained model Create a request for the method "training.update".
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
set(String, Object)
- Method in class com.google.api.services.prediction.model.
Input.InputInput
set(String, Object)
- Method in class com.google.api.services.prediction.model.
Input
set(String, Object)
- Method in class com.google.api.services.prediction.model.
Output.OutputMulti
set(String, Object)
- Method in class com.google.api.services.prediction.model.
Output
set(String, Object)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
set(String, Object)
- Method in class com.google.api.services.prediction.model.
Training
set(String, Object)
- Method in class com.google.api.services.prediction.model.
Update
set(String, Object)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
set(String, Object)
- Method in class com.google.api.services.prediction.
Prediction.Training.Delete
set(String, Object)
- Method in class com.google.api.services.prediction.
Prediction.Training.Get
set(String, Object)
- Method in class com.google.api.services.prediction.
Prediction.Training.Insert
set(String, Object)
- Method in class com.google.api.services.prediction.
Prediction.Training.Predict
set(String, Object)
- Method in class com.google.api.services.prediction.
Prediction.Training.Update
set(String, Object)
- Method in class com.google.api.services.prediction.
PredictionRequest
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Delete
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Get
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Insert
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Predict
setAlt(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.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.
setClassLabel(String)
- Method in class com.google.api.services.prediction.model.
Update
The true class label of this instance
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
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
setData(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Delete
mybucket/mydata resource in Google Storage
setData(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Get
mybucket/mydata resource in Google Storage
setData(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Predict
mybucket/mydata resource in Google Storage
setData(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Update
mybucket/mydata resource in Google Storage
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.Training.Delete
setFields(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Get
setFields(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Insert
setFields(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Predict
setFields(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.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.
setInput(Input.InputInput)
- Method in class com.google.api.services.prediction.model.
Input
Input to the model for a prediction
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Delete
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Get
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Insert
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Predict
setKey(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.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.
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)
setNumberClasses(Long)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Number of classes in the trained model [Categorical models only].
setNumberInstances(Long)
- Method in class com.google.api.services.prediction.model.
Training.ModelInfo
Number of valid data instances used in the trained model.
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Hostedmodels.Predict
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Delete
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Get
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Insert
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Predict
setOauthToken(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Update
setOauthToken(String)
- Method in class com.google.api.services.prediction.
PredictionRequest
OAuth 2.0 token for the current user.
setOutputLabel(String)
- Method in class com.google.api.services.prediction.model.
Output
The most likely class [Categorical models only].
setOutputMulti(List<Output.OutputMulti>)
- Method in class com.google.api.services.prediction.model.
Output
A list of classes 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.Training.Delete
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
Prediction.Training.Get
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
Prediction.Training.Insert
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
Prediction.Training.Predict
setPrettyPrint(Boolean)
- Method in class com.google.api.services.prediction.
Prediction.Training.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.Training.Delete
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Get
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Insert
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Predict
setQuotaUser(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.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.
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
setSuppressAllChecks(boolean)
- Method in class com.google.api.services.prediction.
Prediction.Builder
setSuppressPatternChecks(boolean)
- Method in class com.google.api.services.prediction.
Prediction.Builder
setSuppressRequiredParameterChecks(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.Training.Delete
setUserIp(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Get
setUserIp(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Insert
setUserIp(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.Predict
setUserIp(String)
- Method in class com.google.api.services.prediction.
Prediction.Training.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 classes to be specified [Categorical models only].
T
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()
- Method in class com.google.api.services.prediction.
Prediction
An accessor for creating requests from the Training collection.
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.Training
Add new data to a trained model Create a request for the method "training.update".
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