Class Chi2ThresholdParams
java.lang.Object
clickTrainDetector.classification.CTClassifierParams
clickTrainDetector.classification.simplechi2classifier.Chi2ThresholdParams
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
public class Chi2ThresholdParams
extends CTClassifierParams
implements ManagedParameters, Serializable, Cloneable
Simple chi^2 classifier parameters
- Author:
- Jamie Macaulay
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
The chi2 threshold to set.int
The minimum number of clicks.double
The minimum %percentage which must the parent data selector of clicks/ .double
The minimum time in seconds.static final long
Fields inherited from class clickTrainDetector.classification.CTClassifierParams
classifierName, speciesFlag, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Get a set of data that describes all of the parameters in a classMethods inherited from class clickTrainDetector.classification.CTClassifierParams
getUniqueID, newUniqueID, setUniqueID
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
chi2Threshold
public double chi2ThresholdThe chi2 threshold to set. This is the chi2 value divided by the number of clicks in the train. If zero then the classification always passes...A bit of a hack for testing -
minClicks
public int minClicksThe minimum number of clicks. -
minPercentage
public double minPercentageThe minimum %percentage which must the parent data selector of clicks/ . values are 0-1. -
minTime
public double minTimeThe minimum time in seconds.
-
-
Constructor Details
-
Chi2ThresholdParams
public Chi2ThresholdParams()
-
-
Method Details
-
clone
- Overrides:
clone
in classCTClassifierParams
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Overrides:
getParameterSet
in classCTClassifierParams
- Returns:
- description of the parameters in a class.
-