At least one prediction report has been previously saved to the application data Precondition: store. A PredictionReport object is returned to the caller for further processing or Postcondition: display. Prediction_Client::Prediction_Client_Interface Interface Signature public interface IPredictionClient { public HttpWebResponse Analyze (string modelId) public HttpWebResponse Delete (string modelId) public HttpWebResponse Get (string modelId) public HttpWebResponse Insert (string modelId) public HttpWebResponse List () public HttpWebResponse Predict (string modelId) public HttpWebResponse Update (string modelId) public HttpWebResponse AuthorizeUser() } Operation Definitions HttpWebResponse Analyze (string modelId) This operation connects to the Google Predictive API and get analysis of the Description: model and the data the model was trained on associated with a particular Model as identified by the modelId parameter. A valid model ID and application secret must be sent in the request headers in Precondition: order to authenticate with the Google Predictive API. An HttpWebResponse object is returned to the caller. This object contains the Postcondition: JSON formatted response containing the analysis data. The caller is responsible for deserializing the response. HttpWebResponse Delete (string modelId) This operation connects to the Google Predictive API and Delete a trained model Description: associated with a particular Model as identified by the modelId parameter. A valid model ID and application secret must be sent in the request headers in Precondition: order to authenticate with the Google Predictive API.
Precondition: At least one prediction report has been previously saved to the application data store. Postcondition: A PredictionReport object is returned to the caller for further processing or display. Prediction_Client::Prediction_Client_Interface Interface Signature public interface IPredictionClient { public HttpWebResponse Analyze (string modelId) public HttpWebResponse Delete (string modelId) public HttpWebResponse Get (string modelId) public HttpWebResponse Insert (string modelId) public HttpWebResponse List () public HttpWebResponse Predict (string modelId) public HttpWebResponse Update (string modelId) public HttpWebResponse AuthorizeUser() } Operation Definitions HttpWebResponse Analyze (string modelId) Description: This operation connects to the Google Predictive API and get analysis of the model and the data the model was trained on associated with a particular Model as identified by the modelId parameter. Precondition: A valid model ID and application secret must be sent in the request headers in order to authenticate with the Google Predictive API. Postcondition: An HttpWebResponse object is returned to the caller. This object contains the JSON formatted response containing the analysis data. The caller is responsible for deserializing the response. HttpWebResponse Delete (string modelId) Description: This operation connects to the Google Predictive API and Delete a trained model associated with a particular Model as identified by the modelId parameter. Precondition: A valid model ID and application secret must be sent in the request headers in order to authenticate with the Google Predictive API.
Software_Architecture_Document_SF.docx