Module es.upm.fi.cig.multictbnc
Package es.upm.fi.cig.multictbnc.fss
Interface OnlineFeatureSubsetSelection
- All Known Implementing Classes:
ConInd
public interface OnlineFeatureSubsetSelection
This interface defines the structure for classes that implement online feature subset selection algorithms. Online
feature subset selection algorithms analyze data as it becomes available and decide whether newly arriving
features should be included in the model.
-
Method Summary
Modifier and TypeMethodDescriptionExecutes the feature subset selection algorithm for a newly arrived feature variable in a given data batch.boolean
Returns a boolean indicating whether the last execution of the feature subset selection algorithm resulted in any changes to the selected feature subset.void
setCurrentFeatureVariables
(List<String> nameFeatureVariables) Sets the current set of feature variables.
-
Method Details
-
execute
Executes the feature subset selection algorithm for a newly arrived feature variable in a given data batch. This method is designed to analyze the relevance and redundancy of a new variable in the context of the current feature subset and update it accordingly.- Parameters:
newVariable
- name of the new feature variable that is to be evaluateddataBatch
- data batch containing the new variable along with existing features and class variables- Returns:
- an instance of
SubsetSelectedFeatureVariables
, containing the subset of selected features
-
getLastExecutionYieldAnyChange
boolean getLastExecutionYieldAnyChange()Returns a boolean indicating whether the last execution of the feature subset selection algorithm resulted in any changes to the selected feature subset.- Returns:
true
if the last execution yielded a change in the feature subset,false
otherwise
-
setCurrentFeatureVariables
Sets the current set of feature variables.- Parameters:
nameFeatureVariables
- list of names of the current feature variables
-