Package edu.gsu.cs.dmlab.features
Class FStatProducer
- java.lang.Object
-
- edu.gsu.cs.dmlab.features.FStatProducer
-
- All Implemented Interfaces:
IStatProducer
public class FStatProducer extends Object implements IStatProducer
Calculates the F-Statistic for a parameter when representing a given event type.- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Constructor Summary
Constructors Constructor Description FStatProducer(List<ISTTrackingTrajectory> tracks, ISTHistogramProducer histoProducer, IHistoComparator comparator)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
computeStat(ImageDBWaveParamPair[] dims)
Method for computing the fitness statistic for the image descriptor constructed with the passed in image wavelength filter and parameter calculation pairs.void
finalize()
-
-
-
Constructor Detail
-
FStatProducer
public FStatProducer(List<ISTTrackingTrajectory> tracks, ISTHistogramProducer histoProducer, IHistoComparator comparator)
Constructor- Parameters:
tracks
- Tracks to compute onhistoProducer
- A histogram producer to use.comparator
- A histogram comparator to use on the histograms.
-
-
Method Detail
-
finalize
public void finalize() throws Throwable
-
computeStat
public float computeStat(ImageDBWaveParamPair[] dims)
Description copied from interface:IStatProducer
Method for computing the fitness statistic for the image descriptor constructed with the passed in image wavelength filter and parameter calculation pairs.- Specified by:
computeStat
in interfaceIStatProducer
- Parameters:
dims
- The dimensions or image filter wavelength and parameter calculation pairs used to create a descriptor of an event detection.- Returns:
- The fitness score for descriptors based on the passed in list.
-
-