594e85681f4122024286fb77f63a90410673d1e4,networkml/NetworkML.py,NetworkML,run_algorithm_stage,#NetworkML#Any#,77
Before Change
return instance.main()
def run_algorithm_stage(self, in_path):
instance = HostFootprint(raw_args=[
in_path, "-O", self.operation, "-v", self.log_level,
"--trained_model", self.trained_model, "--label_encoder", self.label_encoder, "--kfolds", self.kfolds])
return instance.main()
def run_stages(self):
stages = ("parser", "featurizer", "algorithm")
After Change
return instance.main()
def run_algorithm_stage(self, in_path):
raw_args = [in_path, "-O", self.operation, "-v", self.log_level]
opt_args = ["trained_model", "label_encoder", "kfolds"]
for opt_arg in opt_args:
val = getattr(self, opt_arg, None)
if val is not None:
raw_args.extend(["--" + opt_arg, str(val)])
instance = HostFootprint(raw_args=raw_args)
return instance.main()
def run_stages(self):
stages = ("parser", "featurizer", "algorithm")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: CyberReboot/NetworkML
Commit Name: 594e85681f4122024286fb77f63a90410673d1e4
Time: 2020-04-21
Author: josh@vandervecken.com
File Name: networkml/NetworkML.py
Class Name: NetworkML
Method Name: run_algorithm_stage
Project Name: CyberReboot/NetworkML
Commit Name: ee62e8c013ee4e26b78cc5e97c99e312c5582d27
Time: 2020-02-13
Author: clewis@iqt.org
File Name: tests/test_algorithms_host_footprint.py
Class Name:
Method Name: test_predict
Project Name: CyberReboot/NetworkML
Commit Name: ee62e8c013ee4e26b78cc5e97c99e312c5582d27
Time: 2020-02-13
Author: clewis@iqt.org
File Name: tests/test_algorithms_host_footprint.py
Class Name:
Method Name: test_train