@Experiment(author="David Dupplaw <dpd@ecs.soton.ac.uk>", dateCreated="2013-03-08", description="Speech detection cross validation experiment") public class SpeechDetectorExperiment extends Object implements RunnableExperiment
setup()
stage by the detector. The cross-validation
uses the audio annotator delivered by the detector.Constructor and Description |
---|
SpeechDetectorExperiment(SpeechDetector sd)
Takes the speech detector to test
|
Modifier and Type | Method and Description |
---|---|
void |
finish(ExperimentContext context)
Finalise the experiment, possibly writing the results, cleaning up, etc.
|
static void |
main(String[] args)
Run this experiment.
|
void |
perform()
Uses a stratified 10-fold grouped cross-validation
Perform the experiment
|
void |
setup()
Creates the datasets from which the validations will take place
Setup of the experiment
|
public SpeechDetectorExperiment(SpeechDetector sd)
sd
- The speech detector to testpublic void setup()
setup
in interface RunnableExperiment
RunnableExperiment.setup()
public void perform()
perform
in interface RunnableExperiment
RunnableExperiment.perform()
public void finish(ExperimentContext context)
RunnableExperiment
ExperimentRunner
is provided so that
RunnableExperiment
implementations can access information for
generating their reports.
Note that at the point the context is provided,
it is not "locked" and is still recording. The ExperimentRunner
returns a completed locked context after the experiment has been completely
run.
finish
in interface RunnableExperiment
context
- the context provided by the ExperimentRunner
public static void main(String[] args) throws IOException
args
- The command-line argumentsIOException