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

Before Change


        self.idents = idents
        self.timestamps = timestamps
        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


        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: 5

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/active_learning/queries/categories.py
Class Name: Categories
Method Name: set_category_num_annotations


Project Name: ANSSI-FR/SecuML
Commit Name: 9685df29213e5943d2774f80e21564f4204823ec
Time: 2019-09-03
Author: anael.beaugnon@ssi.gouv.fr
File Name: secuml/core/classif/conf/test/cv.py
Class Name: CvConf
Method Name: _gen_cv_split