Class RatioClickTrainAlgorithm
java.lang.Object
clickTrainDetector.clickTrainAlgorithms.classificationRatio.RatioClickTrainAlgorithm
- All Implemented Interfaces:
 ClickTrainAlgorithm
- Direct Known Subclasses:
 RatioAlgorithm
Click train algorithm which is very simple. It looks at the ratio of unclassified clicks to classified 
 clicks. If the ratio reaches a certain threshold then a all classified clicks within the time window are 
 added to a click train. 
 
The ratio algorithm is not particularly sophisticated, however, it is useful for finding areas in the data which might have high numbers of true positive detections whilst ignoring sections of data that have high numbers of false positives
- Author:
 - Jamie Macaulay
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionGet the class which handles GUI components for the click train detector algorithmGet logging class for click algorithm specific information.getName()The name of the algorithmvoidnewDataUnit(PamDataUnit<?, ?> dataUnit) Adds a data unit to the click train detector algorithmvoidSend update flag to the algorithm 
- 
Constructor Details
- 
RatioClickTrainAlgorithm
 
 - 
 - 
Method Details
- 
getName
Description copied from interface:ClickTrainAlgorithmThe name of the algorithm- Specified by:
 getNamein interfaceClickTrainAlgorithm- Returns:
 - the name of the algorithm
 
 - 
newDataUnit
Description copied from interface:ClickTrainAlgorithmAdds a data unit to the click train detector algorithm- Specified by:
 newDataUnitin interfaceClickTrainAlgorithm- Parameters:
 dataUnit- - data unit to be considered for click train detection.
 - 
getClickTrainGraphics
Description copied from interface:ClickTrainAlgorithmGet the class which handles GUI components for the click train detector algorithm- Specified by:
 getClickTrainGraphicsin interfaceClickTrainAlgorithm- Returns:
 - the click train graphics.
 
 - 
update
Description copied from interface:ClickTrainAlgorithmSend update flag to the algorithm- Specified by:
 updatein interfaceClickTrainAlgorithm- Parameters:
 data- - an object to add to update
 - 
getCTAlgorithmInfoLogging
Description copied from interface:ClickTrainAlgorithmGet logging class for click algorithm specific information.- Specified by:
 getCTAlgorithmInfoLoggingin interfaceClickTrainAlgorithm- Returns:
 - the ct algorithm logging.
 
 
 -