|
||||||||||
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 super-class used by all ClassifierAssessmentAssessParameterSet
s.
It is a container of user-specified parameters necessary to define a run of an
ClassifierAssessment
. In contrast to AssessmentAssessParameterSet
s
that are necessary to start an ClassifierAssessment
,
ClassifierAssessmentParameterSet
s are necessary to instantiate a
ClassifierAssessment
-object.
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 |
---|
alternativeInstanceClass, errorMessage, parameters, parent, ranged |
Constructor Summary | |
---|---|
|
ClassifierAssessmentAssessParameterSet()
inherited from ParameterSet |
protected |
ClassifierAssessmentAssessParameterSet(Class alternativeInstanceClass)
inherited from ParameterSet |
|
ClassifierAssessmentAssessParameterSet(int elementLength,
boolean exceptionIfMPNotComputable)
|
|
ClassifierAssessmentAssessParameterSet(StringBuffer representation)
inherited from ParameterSet |
Method Summary | |
---|---|
static ParameterSet[] |
getAllClassifierAssessmentAssessParameterSets()
|
Collection<Result> |
getAnnotation()
|
int |
getElementLength()
|
boolean |
getExceptionIfMPNotComputable()
|
String |
getInstanceComment()
Returns a comment (a textual description) of the class that can be constructed using this ParameterSet . |
String |
getInstanceName()
Returns the name of an instance of the class that can be constructed using this ParameterSet . |
protected void |
initializeMyParametersArrayList()
Initializes the list of Parameter s in this ParameterSet . |
protected void |
loadParameters()
Loads the parameters for this ParameterSet . |
Methods inherited from class de.jstacs.parameters.ParameterSet |
---|
clone, fromXML, getErrorMessage, getId, getInstance, getInstanceClass, getNumberOfParameters, getNumberOfValues, getParameterAt, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isRanged, makeRanged, next, parametersLoaded, propagateId, recieveId, replaceParametersWithRangedInstance, reset, resetToFirst, setAlternativeInstanceClass, setParent, simplify, toXML, valuesToString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ClassifierAssessmentAssessParameterSet(Class alternativeInstanceClass)
ParameterSet
public ClassifierAssessmentAssessParameterSet() throws UnsupportedOperationException
ParameterSet
UnsupportedOperationException
public ClassifierAssessmentAssessParameterSet(StringBuffer representation) throws NonParsableException
ParameterSet
NonParsableException
public ClassifierAssessmentAssessParameterSet(int elementLength, boolean exceptionIfMPNotComputable) throws SimpleParameter.IllegalValueException
elementLength
- defines the length of elements (sequences) the classifiers
to be assessed are able to classifyexceptionIfMPNotComputable
- a ClassifierAssessmentAssessParameterSet
is used
in combination with an MeasureParameters
-object
to call assess
-methods of CLassifierAssessment
s.
If exceptionIfMPNotComputable=true
then an expection is thrown
in case of a selected measure-parameters that could not be computed.
SimpleParameter.IllegalValueException
- is thrown in case of out-of-range or invalid given parametersMethod Detail |
---|
public static final ParameterSet[] getAllClassifierAssessmentAssessParameterSets()
ClassifierAssessmentAssessParameterSets
.
This method is used by ClassifierAssessmentTaskParameterSet
to allow a user to chose
a certain assessment to assess user specified classifiers.protected void initializeMyParametersArrayList()
Parameter
s in this ParameterSet
.
protected void loadParameters() throws Exception
ParameterSet
ParameterSet
. This is in
most cases done by simply creating a new ArrayList<Parameter>
for the
field parameters/code>
and filling it with instances of subclasses of Parameter
- Specified by:
loadParameters
in class ParameterSet
- Throws:
Exception
- an Exception
is thrown if the parameters could not be loaded- See Also:
ParameterSet.parameters
,
Parameter
public String getInstanceName()
ParameterSet
ParameterSet
.
getInstanceName
in class ParameterSet
public String getInstanceComment()
ParameterSet
ParameterSet
.
getInstanceComment
in class ParameterSet
public int getElementLength()
ClassifierAssessmentAssessParameterSet
public boolean getExceptionIfMPNotComputable()
ClassifierAssessmentAssessParameterSet
(true: an exception is thrown if user selected measure-parameters that could not
be computed. false: not)
public Collection<Result> getAnnotation()
ClassifierAssessmentAssessParameterSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |