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
ConstructorDescriptionFeatureStreamWithoutFSSExperiment
(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 TypeMethodDescriptionvoid
execute
(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:FeatureStreamImplementationExperiment
Provides the filename for storing results.- Specified by:
getFilenameResults
in classFeatureStreamImplementationExperiment
- Returns:
- the filename as a string
-
execute
Description copied from class:FeatureStreamImplementationExperiment
Executes the experiment.- Specified by:
execute
in classFeatureStreamImplementationExperiment
- Parameters:
model
- Multi-CTBNC used in the experiment- Throws:
IOException
- if an error occurs in file handling
-