org.opentox.prediction
Class SvcPredictor

java.lang.Object
  extended by org.opentox.prediction.SvcPredictor
All Implemented Interfaces:
IPredictor

public class SvcPredictor
extends java.lang.Object
implements IPredictor

Version:
1.3.3 (Last update: Dec 20, 2009)
Author:
OpenTox - http://www.opentox.org/, Sopasakis Pantelis, Sarimveis Harry

Constructor Summary
SvcPredictor()
           
 
Method Summary
 org.restlet.representation.Representation predict(org.restlet.data.Form form, java.lang.String model_id)
          Given a dataset uri and a model id, calculate the set of predicted values for the corresponding feature.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SvcPredictor

public SvcPredictor()
Method Detail

predict

public org.restlet.representation.Representation predict(org.restlet.data.Form form,
                                                         java.lang.String model_id)
Description copied from interface: IPredictor
Given a dataset uri and a model id, calculate the set of predicted values for the corresponding feature.

Specified by:
predict in interface IPredictor
Parameters:
form - Parameters of the client's request that contain information about the test dataset resource.
model_id - The id of the model.
Returns:
representation of the prediction result.