org.opentox.prediction
Interface Predictor

All Known Implementing Classes:
MlrPredictor, SvcPredictor, SvmPredictor

public interface Predictor

This interface is used by all predictors such as MlrPredictor.

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

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.
 

Method Detail

predict

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.

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.