public class ClassifierAssessmentAssessParameterSet extends ParameterSet
ClassifierAssessmentAssessParameterSet
s. It is a container of user
specified parameters that are necessary to define a run of an
assess( ... )
-method in a ClassifierAssessment
instance.
ClassifierAssessment
.ClassifierAssessment.assess(de.jstacs.classifiers.performanceMeasures.NumericalPerformanceMeasureParameterSet, ClassifierAssessmentAssessParameterSet, de.jstacs.data.DataSet...)
,
ClassifierAssessment.assess(de.jstacs.classifiers.performanceMeasures.NumericalPerformanceMeasureParameterSet, ClassifierAssessmentAssessParameterSet, de.jstacs.utils.ProgressUpdater, de.jstacs.data.DataSet...)
ParameterSet.ParameterList
errorMessage, parameters, parent
Constructor and Description |
---|
ClassifierAssessmentAssessParameterSet()
Constructs a new
ClassifierAssessmentAssessParameterSet with
empty parameter values. |
ClassifierAssessmentAssessParameterSet(int elementLength,
boolean exceptionIfMPNotComputable)
Constructs a new
ClassifierAssessmentAssessParameterSet with
given parameter values. |
ClassifierAssessmentAssessParameterSet(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 |
getElementLength()
Returns the length of elements (sequences) defined by this
ClassifierAssessmentAssessParameterSet . |
boolean |
getExceptionIfMPNotComputable()
Returns the flag defined by this
ClassifierAssessmentAssessParameterSet . |
boolean |
getStoreAll()
Returns the flag for storing all performance measures in each iteration defined by this
ClassifierAssessmentAssessParameterSet . |
void |
setStoreAll(boolean b)
This method allows to set the switch for storing all individual performance measure values of each iteration of the
ClassifierAssessment . |
clone, fromGalaxy, fromXML, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy, toXML
public ClassifierAssessmentAssessParameterSet() throws UnsupportedOperationException
ClassifierAssessmentAssessParameterSet
with
empty parameter values.UnsupportedOperationException
- if the ClassifierAssessmentAssessParameterSet
could
not be constructed or the parameters could not be loadedParameterSet.ParameterSet()
public ClassifierAssessmentAssessParameterSet(StringBuffer representation) throws NonParsableException
Storable
.
Constructs a ClassifierAssessmentAssessParameterSet
out of its
XML representation.representation
- the XML representation as StringBuffer
NonParsableException
- if the ClassifierAssessmentAssessParameterSet
could
not be reconstructed out of the XML representation (the
StringBuffer
representation
could not be
parsed)ParameterSet.ParameterSet(StringBuffer)
,
Storable
public ClassifierAssessmentAssessParameterSet(int elementLength, boolean exceptionIfMPNotComputable) throws SimpleParameter.IllegalValueException, UnsupportedOperationException
ClassifierAssessmentAssessParameterSet
with
given parameter values.elementLength
- defines the length of elements (sequences) the classifiers to
be assessed are able to classifyexceptionIfMPNotComputable
- A ClassifierAssessmentAssessParameterSet
is used in
combination with an
AbstractPerformanceMeasure
-object to call
assess( ... )
-methods of
ClassifierAssessment
s. If
exceptionIfMPNotComputable==true
an
Exception
is thrown if a user selected measure
parameters that could not be computed.SimpleParameter.IllegalValueException
- is thrown in case of out-of-range or invalid given parametersUnsupportedOperationException
- if the ClassifierAssessmentAssessParameterSet
could
not be constructed or the parameters could not be loadedParameterSet.ParameterSet()
public int getElementLength()
ClassifierAssessmentAssessParameterSet
.ClassifierAssessmentAssessParameterSet
public boolean getExceptionIfMPNotComputable()
ClassifierAssessmentAssessParameterSet
.ClassifierAssessmentAssessParameterSet
(true
: an exception is thrown if a user selected measure parameters
that could not be computed, false
: no exception is
thrown)public boolean getStoreAll()
ClassifierAssessmentAssessParameterSet
.ClassifierAssessmentAssessParameterSet
(true
: all performance measures in each iteration are stored separately,
false
: only values need for mean and standard error are stored)MeanResultSet.MeanResultSet(boolean, de.jstacs.results.SimpleResult...)
,
MeanResultSet.getAllValues(int)
public Collection<Result> getAnnotation()
Collection
of parameters containing informations about
this ClassifierAssessmentAssessParameterSet
.Collection
of parameters containing informations about
this ClassifierAssessmentAssessParameterSet
public void setStoreAll(boolean b) throws SimpleParameter.IllegalValueException
ClassifierAssessment
.b
- the value to be setSimpleParameter.IllegalValueException
- if the parameter could not be set