nmeta2dpae_datasets/iscx_2012_ddos_fold_1.py
def _return_features(self, data, features):
        """Select specific raw features from the data.

        :param data: The data set to manipulate.
        :param features: A list of ISXC 2012 IDS specific features.
        :return: List of data with just the chosen features in the order
                 they were requested.
        """
        processed_data = []
        for flow in data:
            new_entry = []
            for f in features:
                new_entry.append(flow[f])
            processed_data.append(new_entry)
        return processed_data
Select specific raw features from the data.

        :param data: The data set to manipulate.
        :param features: A list of ISXC 2012 IDS specific features.
        :return: List of data with just the chosen features in the order
                 they were requested.
        
Select specific raw features from the data.
Select specific raw features from the data .
def _return_features(self, data, features):
        processed_data = []
        for flow in data:
            new_entry = []
            for f in features:
                new_entry.append(flow[f])
            processed_data.append(new_entry)
        return processed_data
def _return_features ( self , data , features ) : processed_data = [ ] for flow in data : new_entry = [ ] for f in features : new_entry . append ( flow [ f ] ) processed_data . append ( new_entry ) return processed_data
Select specific raw features from the data.
Select specific raw features from the data .
"""Select specific raw features from the data.

        :param data: The data set to manipulate.
        :param features: A list of ISXC 2012 IDS specific features.
        :return: List of data with just the chosen features in the order
                 they were requested.
        """
List of data with just the chosen features in the order
they were requested.
List of data with just the chosen features in the order they were requested .
self
data
The data set to manipulate.
The data set to manipulate .
features
A list of ISXC 2012 IDS specific features.
A list of ISXC 2012 IDS specific features .