9685df29213e5943d2774f80e21564f4204823ec,secuml/core/active_learning/queries/categories.py,Categories,generate,#Categories#Any#Any#Any#Any#,43
Before Change
self.assigned_categories = assigned_categories
self.num_categories = len(set(assigned_categories))
self.init(label, category_labels)
ids = self.instances.ids.get_ids()
for i in range(len(ids)):
instance_id = ids[i]
annotated = self.instances.annotations.is_annotated(instance_id)
c = self.assigned_categories[i]
After Change
self.assigned_categories = assigned_categories
self.num_categories = len(set(assigned_categories))
self.init(label, category_labels)
for i, instance_id in enumerate(self.instances.ids.get_ids()):
annotated = self.instances.annotations.is_annotated(instance_id)
c = self.assigned_categories[i]
probas = None
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
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: generate
Project Name: flow-project/flow
Commit Name: 1e734753d810eb11f03c9ac4c4286ec302eaee81
Time: 2017-12-28
Author: akreidieh@gmail.com
File Name: flow/envs/base_env.py
Class Name: SumoEnvironment
Method Name: _reset
Project Name: flow-project/flow
Commit Name: 5278addd9e8a02d128d1f3848251e6521d11fd48
Time: 2018-02-08
Author: akreidieh@gmail.com
File Name: flow/envs/base_env.py
Class Name: Env
Method Name: sort_by_position
Project Name: flow-project/flow
Commit Name: 1e734753d810eb11f03c9ac4c4286ec302eaee81
Time: 2017-12-28
Author: akreidieh@gmail.com
File Name: flow/envs/base_env.py
Class Name: SumoEnvironment
Method Name: setup_initial_state