9685df29213e5943d2774f80e21564f4204823ec,secuml/core/data/ids.py,Ids,_set_idents_timetamps,#Ids#Any#Any#,75

Before Change


        if self.idents is None:
            self.idents = [None for _ in range(self.num_instances())]
        if self.timestamps is None:
            self.timestamps = [None for _ in range(self.num_instances())]

After Change


    def _set_idents_timetamps(self, idents, timestamps):
        self.idents = idents
        self.timestamps = timestamps
        num_instances = self.num_instances()
        if self.idents is None:
            self.idents = np.full((num_instances,), None)
        if self.timestamps is None:
            self.timestamps = np.full((num_instances,), None)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ANSSI-FR/SecuML
Commit Name: 9685df29213e5943d2774f80e21564f4204823ec
Time: 2019-09-03
Author: anael.beaugnon@ssi.gouv.fr
File Name: secuml/core/data/ids.py
Class Name: Ids
Method Name: _set_idents_timetamps


Project Name: ANSSI-FR/SecuML
Commit Name: 9685df29213e5943d2774f80e21564f4204823ec
Time: 2019-09-03
Author: anael.beaugnon@ssi.gouv.fr
File Name: secuml/core/data/predictions.py
Class Name: Predictions
Method Name: _set_ranking


Project Name: ANSSI-FR/SecuML
Commit Name: 148498b564391bfd9dbc9c2b0b22db4c96df4606
Time: 2019-03-06
Author: anael.bonneton@ssi.gouv.fr
File Name: secuml/core/data/features.py
Class Name: Features
Method Name: get_values_from_index