featureselection.py
def fcbf(X, y):
    '''
    Runs Fast Correlation-Based Filter feature selection on the data (X) and the target values (y) and finds
    the index of the significant features.

    Args:
        X: A Numpy array containing the dataset
        y: A Numpy array consisting of the target values
        n_features: An integer specifying how many features should be selected

    Returns a list containing the indices of the features that have been selected
    '''
    selection = FCBF.fcbf(X, y)
    index = list(selection[0])
    index.sort()
    return index

    Runs Fast Correlation-Based Filter feature selection on the data (X) and the target values (y) and finds
    the index of the significant features.

    Args:
        X: A Numpy array containing the dataset
        y: A Numpy array consisting of the target values
        n_features: An integer specifying how many features should be selected

    Returns a list containing the indices of the features that have been selected
    
Runs Fast Correlation-Based Filter feature selection on the data (X) and the target values (y) and finds
the index of the significant features.
Runs Fast Correlation - Based Filter feature selection on the data ( X ) and the target values ( y ) and finds the index of the significant features .
def fcbf(X, y):
    selection = FCBF.fcbf(X, y)
    index = list(selection[0])
    index.sort()
    return index
def fcbf ( X , y ) : selection = FCBF . fcbf ( X , y ) index = list ( selection [ 0 ] ) index . sort ( ) return index
Runs Fast Correlation-Based Filter feature selection on the data (X) and the target values (y) and finds
the index of the significant features.
Runs Fast Correlation - Based Filter feature selection on the data ( X ) and the target values ( y ) and finds the index of the significant features .
'''
    Runs Fast Correlation-Based Filter feature selection on the data (X) and the target values (y) and finds
    the index of the significant features.

    Args:
        X: A Numpy array containing the dataset
        y: A Numpy array consisting of the target values
        n_features: An integer specifying how many features should be selected

    Returns a list containing the indices of the features that have been selected
    '''
X
A Numpy array containing the dataset
A Numpy array containing the dataset
y
A Numpy array consisting of the target values
A Numpy array consisting of the target values
n_features
An integer specifying how many features should be selected
An integer specifying how many features should be selected