Module es.upm.fi.cig.multictbnc
Class FeatureStreamWithFSSWithoutUpdatingExperiment
java.lang.Object
es.upm.fi.cig.multictbnc.experiments.implementationsexperiments.featurestreamexperiments.FeatureStreamImplementationExperiment
es.upm.fi.cig.multictbnc.experiments.implementationsexperiments.featurestreamexperiments.FeatureStreamWithFSSWithoutUpdatingExperiment
public class FeatureStreamWithFSSWithoutUpdatingExperiment
extends FeatureStreamImplementationExperiment
Represents an experiment for processing a feature stream dataset with online feature subset selection without
updating the model.
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureStreamWithFSSWithoutUpdatingExperiment(String pathFeatureStream, String nameTimeVariable, List<String> nameClassVariables, DatasetReader initialDatasetReader, DatasetReader testDatasetReader, CTBNParameterLearningAlgorithm ctbnPLA, int maxSeparatingSizeFSS, int experimentNumber, int numFeatures, boolean areModelsValidated, double sigTimeTransitionHyp, double sigStateToStateTransitionHyp) Initializes a FeatureStreamWithFSSWithoutUpdatingExperiment with the provided configuration parameters. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(MultiCTBNC<CPTNode, CIMNode> model) Executes the experiment.Provides the filename for storing results.Methods inherited from class es.upm.fi.cig.multictbnc.experiments.implementationsexperiments.featurestreamexperiments.FeatureStreamImplementationExperiment
close
-
Constructor Details
-
FeatureStreamWithFSSWithoutUpdatingExperiment
public FeatureStreamWithFSSWithoutUpdatingExperiment(String pathFeatureStream, String nameTimeVariable, List<String> nameClassVariables, DatasetReader initialDatasetReader, DatasetReader testDatasetReader, CTBNParameterLearningAlgorithm ctbnPLA, int maxSeparatingSizeFSS, int experimentNumber, int numFeatures, boolean areModelsValidated, double sigTimeTransitionHyp, double sigStateToStateTransitionHyp) throws UnreadDatasetException, IOException Initializes a FeatureStreamWithFSSWithoutUpdatingExperiment with the provided configuration parameters.- Parameters:
pathFeatureStream- path to the feature streamnameTimeVariable- name of the time variablenameClassVariables- list of names of class variablesinitialDatasetReader- DatasetReader for the initial datasettestDatasetReader- DatasetReader for the test datasetctbnPLA- parameter learning algorithm for the CIM nodesmaxSeparatingSizeFSS- maximum separating size for the feature subset selectionexperimentNumber- number identifying the experimentnumFeatures- number of features in the dataset (used to identify results files)areModelsValidated- boolean indicating whether the models should be validatedsigTimeTransitionHyp- significance level for time transition hypothesissigStateToStateTransitionHyp- significance level for state-to-state transition hypothesis- Throws:
UnreadDatasetException- if there is an issue reading the datasetIOException- if there is an I/O error
-
-
Method Details
-
getFilenameResults
Description copied from class:FeatureStreamImplementationExperimentProvides the filename for storing results.- Specified by:
getFilenameResultsin classFeatureStreamImplementationExperiment- Returns:
- the filename as a string
-
execute
public void execute(MultiCTBNC<CPTNode, CIMNode> model) throws ErroneousValueException, UnreadDatasetException, IOExceptionDescription copied from class:FeatureStreamImplementationExperimentExecutes the experiment.- Specified by:
executein classFeatureStreamImplementationExperiment- Parameters:
model- Multi-CTBNC used in the experiment- Throws:
ErroneousValueException- if there are erroneous values in the dataUnreadDatasetException- if the dataset cannot be readIOException- if an error occurs in file handling
-