|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.parameters.ParameterSet
de.jstacs.classifier.assessment.ClassifierAssessmentAssessParameterSet
public class ClassifierAssessmentAssessParameterSet
This class is the superclass used by all
ClassifierAssessmentAssessParameterSets. It is a container of user
specified parameters that are necessary to define a run of an
assess( ... )-method in a ClassifierAssessment instance.
It is recommended to extend this class for each subclass of
ClassifierAssessment.
ClassifierAssessment.assess(de.jstacs.classifier.MeasureParameters,
ClassifierAssessmentAssessParameterSet, de.jstacs.data.Sample...),
ClassifierAssessment.assess(de.jstacs.classifier.MeasureParameters,
ClassifierAssessmentAssessParameterSet, de.jstacs.utils.ProgressUpdater,
de.jstacs.data.Sample...),
ClassifierAssessment.assess(de.jstacs.classifier.MeasureParameters,
ClassifierAssessmentAssessParameterSet, de.jstacs.utils.ProgressUpdater,
de.jstacs.data.Sample...)| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class de.jstacs.parameters.ParameterSet |
|---|
ParameterSet.ParameterList |
| Field Summary |
|---|
| Fields inherited from class de.jstacs.parameters.ParameterSet |
|---|
errorMessage, parameters, parent, ranged |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
protected void |
initializeMyParametersArrayList()
Initializes the list of Parameters in this
ClassifierAssessmentAssessParameterSet. |
protected void |
loadParameters()
Loads the parameters for this ParameterSet. |
| Methods inherited from class de.jstacs.parameters.ParameterSet |
|---|
clone, fromGalaxy, fromXML, getErrorMessage, getId, getIndex, getNumberOfParameters, getNumberOfValues, getParameterAt, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isRanged, makeRanged, next, parametersLoaded, propagateId, recieveId, replaceParametersWithRangedInstance, reset, resetToFirst, setParent, simplify, toGalaxy, toXML, valuesToString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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
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 a
MeasureParameters-object to call
assess( ... )-methods of
ClassifierAssessments. 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 parametersParameterSet.ParameterSet()| Method Detail |
|---|
protected void initializeMyParametersArrayList()
Parameters in this
ClassifierAssessmentAssessParameterSet.
ParameterSet.initParameterList(int initCapacity)
protected void loadParameters()
throws Exception
ParameterSetParameterSet. This is in most cases
done by calling ParameterSet.initParameterList() or
ParameterSet.initParameterList(int) to initialize
ParameterSet.parameters and afterwards filling
ParameterSet.parameters with instances of subclasses of
Parameter.
loadParameters in class ParameterSetException - if the parameters could not be loadedParameter,
ParameterSet.parameters,
ParameterSet.initParameterList(),
ParameterSet.initParameterList(int)public int getElementLength()
ClassifierAssessmentAssessParameterSet.
ClassifierAssessmentAssessParameterSetpublic 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 Collection<Result> getAnnotation()
Collection of parameters containing informations about
this ClassifierAssessmentAssessParameterSet.
Collection of parameters containing informations about
this ClassifierAssessmentAssessParameterSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||