public class FragmentClassifierParams
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This class contains the basic parameters which could be applied to any fragment classification method including how the whistles were fragmented, and the section length as well as basic information about the input data from the whistle detector.
Sine the classification can use a number of different statistical classifiers, and those classifiers may also be used to solve other classification problems in PAMGUARD the actual classification parameters are stored in a separate abstract class ClassifierParams which are got directly from specific classifiers.
ClassifierParams
,
Serialized FormModifier and Type | Field and Description |
---|---|
boolean |
dumpTextFile |
int |
minimumContourLength |
static long |
serialVersionUID |
Constructor and Description |
---|
FragmentClassifierParams() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getClassifierClass() |
ClassifierParams |
getClassifierParams() |
int |
getClassifierType() |
Jama.Matrix |
getConfusionMatrix() |
int |
getFftHop() |
int |
getFftLength() |
int |
getFragmentLength() |
double[] |
getFrequencyRange() |
double |
getMaxFrequency() |
double |
getMinFrequency() |
int |
getMinimumContourLength() |
double |
getMinimumProbability() |
int |
getNBootstrap() |
float |
getSampleRate() |
int |
getSectionLength() |
java.lang.String[] |
getSpeciesList() |
Jama.Matrix |
getStdConfusion() |
void |
setClassifierParams(ClassifierParams classifierParams) |
void |
setClassifierType(int classifierType) |
void |
setConfusionMatrix(Jama.Matrix confusionMatrix) |
void |
setFftHop(int fftHop) |
void |
setFftLength(int fftLength) |
void |
setFragmentLength(int fragmentLength) |
void |
setFrequencyRange(double[] frequencyRange) |
void |
setMinimumContourLength(int minimumContourLength) |
void |
setMinimumProbability(double minimumProbability) |
void |
setNBootstrap(int bootstrap) |
void |
setSampleRate(float sampleRate) |
void |
setSectionLength(int sectionLength) |
void |
setSpeciesList(java.lang.String[] speciesList) |
void |
setStdConfusion(Jama.Matrix stdConfusion) |
public static final long serialVersionUID
public boolean dumpTextFile
public int minimumContourLength
public int getClassifierType()
public void setClassifierType(int classifierType)
public void setSpeciesList(java.lang.String[] speciesList)
speciesList
- the speciesList to setpublic java.lang.String[] getSpeciesList()
public java.lang.Class getClassifierClass()
public int getFftLength()
public void setFftLength(int fftLength)
public int getFftHop()
public void setFftHop(int fftHop)
public int getFragmentLength()
public void setFragmentLength(int fragmentLength)
public int getSectionLength()
public void setSectionLength(int sectionLength)
public double getMinimumProbability()
public void setMinimumProbability(double minimumProbability)
minimumProbability
- the minimumProbability to setpublic int getMinimumContourLength()
public void setMinimumContourLength(int minimumContourLength)
minimumContourLength
- the minimumContourLength to setpublic double[] getFrequencyRange()
public void setFrequencyRange(double[] frequencyRange)
public float getSampleRate()
public void setSampleRate(float sampleRate)
public int getNBootstrap()
public void setNBootstrap(int bootstrap)
public Jama.Matrix getConfusionMatrix()
public void setConfusionMatrix(Jama.Matrix confusionMatrix)
public Jama.Matrix getStdConfusion()
public void setStdConfusion(Jama.Matrix stdConfusion)
public ClassifierParams getClassifierParams()
public double getMinFrequency()
public double getMaxFrequency()
public void setClassifierParams(ClassifierParams classifierParams)