Module es.upm.fi.cig.multictbnc
Class FeatureStreamWithoutFSSExperiment
java.lang.Object
es.upm.fi.cig.multictbnc.experiments.implementationsexperiments.featurestreamexperiments.FeatureStreamImplementationExperiment
es.upm.fi.cig.multictbnc.experiments.implementationsexperiments.featurestreamexperiments.FeatureStreamWithoutFSSExperiment
Represents an experiment for processing a feature stream dataset without online feature subset selection but with
model updates.
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureStreamWithoutFSSExperiment(String pathFeatureStream, String nameTimeVariable, List<String> nameClassVariables, DatasetReader initialDatasetReader, DatasetReader testDatasetReader, int experimentNumber, int numFeatures, boolean areModelsValidated) Initializes a FeatureStreamWithoutFSSExperiment 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
-
FeatureStreamWithoutFSSExperiment
public FeatureStreamWithoutFSSExperiment(String pathFeatureStream, String nameTimeVariable, List<String> nameClassVariables, DatasetReader initialDatasetReader, DatasetReader testDatasetReader, int experimentNumber, int numFeatures, boolean areModelsValidated) throws UnreadDatasetException, IOException Initializes a FeatureStreamWithoutFSSExperiment 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 datasetexperimentNumber- number identifying the experimentnumFeatures- number of features in the dataset (used to identify results files)areModelsValidated- boolean indicating whether the models should be validated- 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
Description copied from class:FeatureStreamImplementationExperimentExecutes the experiment.- Specified by:
executein classFeatureStreamImplementationExperiment- Parameters:
model- Multi-CTBNC used in the experiment- Throws:
IOException- if an error occurs in file handling
-