org.opentox.interfaces
Interface ITrainer

All Superinterfaces:
IProne2Error
All Known Implementing Classes:
AbstractTrainer, MlrTrainer, SvcTrainer, SvmTrainer

public interface ITrainer
extends IProne2Error

Author:
chung

Method Summary
 ErrorRepresentation checkParameters()
          Check the consistency of the posted parameters.
 org.restlet.representation.Representation train()
          Applies a Learning Algorithm to train a new Model.
 
Methods inherited from interface org.opentox.interfaces.IProne2Error
getErrorRep
 

Method Detail

train

org.restlet.representation.Representation train()
Applies a Learning Algorithm to train a new Model. The general process consists of the following steps:

Returns:
Representation of the model URI.

checkParameters

ErrorRepresentation checkParameters()
Check the consistency of the posted parameters.

Returns:
A null Representation if the posted parameters are consistent, or an Error Message otherwise.