public static class BTMutualInformation.BTMutualInformationParameterSet extends Measure.MeasureParameterSet
BTMutualInformation
structure
Measure
.ParameterSet.ParameterList
errorMessage, parameters, parent
Constructor and Description |
---|
BTMutualInformationParameterSet()
Creates a new
BTMutualInformation.BTMutualInformationParameterSet with empty
parameter values. |
BTMutualInformationParameterSet(BTMutualInformation.DataSource clazz,
double[] ess)
Creates a new
BTMutualInformation.BTMutualInformationParameterSet with the
parameter for the BTMutualInformation.DataSource set to clazz and
the parameter for the equivalent sample sizes (ess) set to
ess . |
BTMutualInformationParameterSet(StringBuffer representation)
The standard constructor for the interface
Storable
. |
Modifier and Type | Method and Description |
---|---|
BTMutualInformation.DataSource |
getClazz()
Returns the source of the data to compute the mutual information as
defined by this set of parameters.
|
double[] |
getEss()
Returns the equivalent sample sizes (ess) defined by this set of
parameters.
|
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 . |
fromXML, getInstance, getInstanceClass, toXML
clone, fromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy
public BTMutualInformationParameterSet() throws ParameterException
BTMutualInformation.BTMutualInformationParameterSet
with empty
parameter values.ParameterException
- if the parameters could not be createdpublic BTMutualInformationParameterSet(BTMutualInformation.DataSource clazz, double[] ess) throws Exception
BTMutualInformation.BTMutualInformationParameterSet
with the
parameter for the BTMutualInformation.DataSource
set to clazz
and
the parameter for the equivalent sample sizes (ess) set to
ess
.clazz
- the source of the data to compute the mutual informationess
- the equivalent sample sizes for the foreground class and
the background, i.e. the background class or (in case of
more than two classes) all non-foreground classesException
- if the parameters could not be created or setpublic BTMutualInformationParameterSet(StringBuffer representation) throws NonParsableException
Storable
. Creates a new BTMutualInformation.BTMutualInformationParameterSet
from its XML
representation as defined by the Storable
interface.representation
- the XML code as StringBuffer
NonParsableException
- if the XML representation could not be parsedpublic double[] getEss()
public BTMutualInformation.DataSource getClazz()
public String getInstanceComment()
InstanceParameterSet
ParameterSet
.getInstanceComment
in class InstanceParameterSet<Measure>
public String getInstanceName()
InstanceParameterSet
ParameterSet
.getInstanceName
in class InstanceParameterSet<Measure>