c3fd7d1a6172a1133cb33f55a92985f6d34779db,classifier4gyoithon/GyoiClassifier.py,DeepClassifier,__init__,#DeepClassifier#,23
Before Change
try:
config.read(os.path.join(self.full_path, "config.ini"))
except FileExistsError as err:
print("File exists error: {0}".format(err))
sys.exit(1)
self.category_type = config["Common"]["category"]
self.train_path = os.path.join(self.full_path, config["GyoiClassifier"]["train_path"])
After Change
class DeepClassifier:
def __init__(self):
// Read config.ini.
self.utility = Utilty()
config = configparser.ConfigParser()
self.full_path = os.path.dirname(os.path.abspath(__file__))
self.root_path = os.path.join(self.full_path, "../")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: gyoisamurai/GyoiThon
Commit Name: c3fd7d1a6172a1133cb33f55a92985f6d34779db
Time: 2018-08-20
Author: gyoiler3@gmail.com
File Name: classifier4gyoithon/GyoiClassifier.py
Class Name: DeepClassifier
Method Name: __init__
Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: f7de0b0f7940ec8e0515776633469c6a1271e92d
Time: 2018-07-10
Author: takaesu235@gmail.com
File Name: DeepExploit/CreateReport.py
Class Name: CreateReport
Method Name: __init__
Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: 03073dd14c70c9f0858f55d41a0d5b5a16c30933
Time: 2018-07-05
Author: takaesu235@gmail.com
File Name: DeepExploit/deep_plugin/classifier_signature/Classifier_signature.py
Class Name: ClassifierSignature
Method Name: __init__