whistleClassifier
Class FragmentClassifierParams
java.lang.Object
whistleClassifier.FragmentClassifierParams
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class FragmentClassifierParams
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
Parameters class for fragmented whistle classification.
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.
- Author:
- Doug Gillespie
- See Also:
ClassifierParams,
Serialized Form
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
classifierType
protected int classifierType
fftLength
protected int fftLength
fftHop
protected int fftHop
fragmentLength
protected int fragmentLength
sectionLength
protected int sectionLength
frequencyRange
protected double[] frequencyRange
sampleRate
protected float sampleRate
nBootstrap
protected int nBootstrap
confusionMatrix
protected Jama.Matrix confusionMatrix
stdConfusion
protected Jama.Matrix stdConfusion
classifierParams
protected ClassifierParams classifierParams
speciesList
protected java.lang.String[] speciesList
fileName
protected java.lang.String fileName
dumpTextFile
public boolean dumpTextFile
FragmentClassifierParams
public FragmentClassifierParams()
getClassifierType
public int getClassifierType()
setClassifierType
public void setClassifierType(int classifierType)
setSpeciesList
public void setSpeciesList(java.lang.String[] speciesList)
- Parameters:
speciesList - the speciesList to set
getSpeciesList
public java.lang.String[] getSpeciesList()
- Returns:
- the speciesList
getClassifierClass
public java.lang.Class getClassifierClass()
getFftLength
public int getFftLength()
setFftLength
public void setFftLength(int fftLength)
getFftHop
public int getFftHop()
setFftHop
public void setFftHop(int fftHop)
getFragmentLength
public int getFragmentLength()
setFragmentLength
public void setFragmentLength(int fragmentLength)
getSectionLength
public int getSectionLength()
setSectionLength
public void setSectionLength(int sectionLength)
getFrequencyRange
public double[] getFrequencyRange()
setFrequencyRange
public void setFrequencyRange(double[] frequencyRange)
getSampleRate
public float getSampleRate()
setSampleRate
public void setSampleRate(float sampleRate)
getNBootstrap
public int getNBootstrap()
setNBootstrap
public void setNBootstrap(int bootstrap)
getConfusionMatrix
public Jama.Matrix getConfusionMatrix()
setConfusionMatrix
public void setConfusionMatrix(Jama.Matrix confusionMatrix)
getStdConfusion
public Jama.Matrix getStdConfusion()
setStdConfusion
public void setStdConfusion(Jama.Matrix stdConfusion)
getClassifierParams
public ClassifierParams getClassifierParams()
setClassifierParams
public void setClassifierParams(ClassifierParams classifierParams)
clone
protected FragmentClassifierParams clone()
- Overrides:
clone in class java.lang.Object