def split_data(dataframe):
    """ Split the dataset into features and labels

        Parameters
        ----------
            dataframe : the full dataset

        Returns
        -------
            features : the features of the dataset
            labels : the attack flag label of the dataset
    """
    label = dataframe[['ATT_FLAG']].values.ravel()
    features = dataframe.drop(['ATT_FLAG'], axis = 1).values
    return features, label