public class RepeatedSubSamplingAssessParameterSet extends ClassifierAssessmentAssessParameterSet
ClassifierAssessmentAssessParameterSet that
must be used to call method assess( ... ) of a
RepeatedSubSamplingExperiment. It contains user specific parameters
necessary for a run of a RepeatedSubSamplingExperiment.ParameterSet.ParameterListerrorMessage, parameters, parent| Constructor and Description |
|---|
RepeatedSubSamplingAssessParameterSet()
Constructs a new
RepeatedSubSamplingAssessParameterSet with empty
parameter values. |
RepeatedSubSamplingAssessParameterSet(int elementLength,
boolean exceptionIfMPNotComputable,
int repeats,
double[] trainNumbers,
double[] testNumbers)
Constructs a new
RepeatedSubSamplingAssessParameterSet with given
parameter values. |
RepeatedSubSamplingAssessParameterSet(StringBuffer representation)
The standard constructor for the interface
Storable. |
| Modifier and Type | Method and Description |
|---|---|
Collection<Result> |
getAnnotation()
Returns a
Collection of parameters containing informations about
this ClassifierAssessmentAssessParameterSet. |
int |
getRepeats()
Returns the repeats defined by this
RepeatedSubSamplingAssessParameterSet (repeats defines how many
iterations (train and test classifiers) of that
RepeatedSubSamplingExperiment this
RepeatedSubSamplingAssessParameterSet is used with are
performed). |
double[] |
getTrain_TestNumbers(boolean train_case)
Returns an array containing the number of elements the subsampled (train
| test) data sets should consist of.
|
getElementLength, getExceptionIfMPNotComputable, getStoreAll, setStoreAllclone, fromGalaxy, fromXML, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy, toXMLpublic RepeatedSubSamplingAssessParameterSet()
throws UnsupportedOperationException,
CloneNotSupportedException,
SimpleParameter.IllegalValueException
RepeatedSubSamplingAssessParameterSet with empty
parameter values. This constructor should only be used to create
"filled" RepeatedSubSamplingAssessParameterSets, i.e.
to create RepeatedSubSamplingAssessParameterSets from a set of
values and not to fill it from the platform user interface.UnsupportedOperationException - if the RepeatedSubSamplingAssessParameterSet could
not be constructed or the parameters could not be loadedCloneNotSupportedException - if the parameter for the subsampled sequences could not be createdSimpleParameter.IllegalValueException - if the parameters could not be filled with the default valuesClassifierAssessmentAssessParameterSet.ClassifierAssessmentAssessParameterSet()public RepeatedSubSamplingAssessParameterSet(StringBuffer representation) throws NonParsableException
Storable.
Constructs a RepeatedSubSamplingAssessParameterSet out of its XML
representation.representation - the XML representation as StringBufferNonParsableException - if the RepeatedSubSamplingAssessParameterSet could
not be reconstructed out of the XML representation (the
StringBuffer representation could not be
parsed)ClassifierAssessmentAssessParameterSet.ClassifierAssessmentAssessParameterSet(StringBuffer)public RepeatedSubSamplingAssessParameterSet(int elementLength,
boolean exceptionIfMPNotComputable,
int repeats,
double[] trainNumbers,
double[] testNumbers)
throws SimpleParameter.IllegalValueException,
CloneNotSupportedException
RepeatedSubSamplingAssessParameterSet with given
parameter values.elementLength - defines the length of elements (sequences) the classifiers to
be assessed are able to classifyexceptionIfMPNotComputable - a RepeatedSubSamplingAssessParameterSet is used in
combination with an
AbstractPerformanceMeasure-object to call
assess( ... )-methods of
RepeatedSubSamplingExperiments. If
exceptionIfMPNotComputable==true an
Exception is thrown in case of a user selected measure
parameters that could not be computed.repeats - the number of repeats of each iteration (subsample test and
train data sets from user supplied data, train classifiers
using train data sets and test them using test data sets) of
that RepeatedHoldOutExperiment this
RepeatedSubSamplingAssessParameterSet is used withtrainNumbers - an array containing for each class (the classifiers to be
assessed are capable to distinguish) the number of elements
the subsampled train data sets should containtestNumbers - an array containing for each class (the classifiers to be
assessed are capable to distinguish) the number of elements
the subsampled test data sets should containSimpleParameter.IllegalValueException - in case of out-of-range or invalid given parametersCloneNotSupportedException - if the parameter for the subsampled sequences could not be createdClassifierAssessmentAssessParameterSet.ClassifierAssessmentAssessParameterSet(int,
boolean)public int getRepeats()
RepeatedSubSamplingAssessParameterSet (repeats defines how many
iterations (train and test classifiers) of that
RepeatedSubSamplingExperiment this
RepeatedSubSamplingAssessParameterSet is used with are
performed).RepeatedSubSamplingAssessParameterSet (repeats defines
how many iterations (train and test classifiers) of that
RepeatedSubSamplingExperiment this
RepeatedSubSamplingAssessParameterSet is used with are
performed)public double[] getTrain_TestNumbers(boolean train_case)
train_case - if true then (train | test)=train
else (train | test)=testpublic Collection<Result> getAnnotation()
ClassifierAssessmentAssessParameterSetCollection of parameters containing informations about
this ClassifierAssessmentAssessParameterSet.getAnnotation in class ClassifierAssessmentAssessParameterSetCollection of parameters containing informations about
this ClassifierAssessmentAssessParameterSet