org.opentox.algorithm.trainer
Class AbstractTrainer

java.lang.Object
  extended by org.opentox.error.ErrorSource
      extended by org.opentox.algorithm.trainer.AbstractTrainer
All Implemented Interfaces:
IProne2Error, ITrainer
Direct Known Subclasses:
MlrTrainer, SvcTrainer, SvmTrainer

public abstract class AbstractTrainer
extends ErrorSource
implements ITrainer

Abstract Algorithm Trainer.

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

Nested Class Summary
protected static interface AbstractTrainer.Classification
           
protected static interface AbstractTrainer.Regression
           
 
Field Summary
protected  java.net.URI dataseturi
           
protected  org.restlet.data.Form form
           
protected  org.restlet.resource.ServerResource resource
           
protected  java.net.URI targeturi
           
 
Fields inherited from class org.opentox.error.ErrorSource
errorRep
 
Constructor Summary
AbstractTrainer(org.restlet.data.Form form, org.restlet.resource.ServerResource resource)
          Constructor.
 
Method Summary
 
Methods inherited from class org.opentox.error.ErrorSource
getErrorRep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opentox.interfaces.ITrainer
checkParameters, train
 
Methods inherited from interface org.opentox.interfaces.IProne2Error
getErrorRep
 

Field Detail

targeturi

protected java.net.URI targeturi

dataseturi

protected java.net.URI dataseturi

form

protected org.restlet.data.Form form

resource

protected org.restlet.resource.ServerResource resource
Constructor Detail

AbstractTrainer

public AbstractTrainer(org.restlet.data.Form form,
                       org.restlet.resource.ServerResource resource)
Constructor.

Parameters:
form - The set of posted parameters.
resource - The resource that calls the trainer.