def __init__(self, log_database, log_collection, execution_id):
     self.execution_id = execution_id
     self.log_db_writer = App_LoggerDB(execution_id=execution_id)
     self.log_database = log_database
     self.log_collection = log_collection
     self.az_blob_mgt = AzureBlobManagement()
     self.mongoDB = MongoDBOperation()
     self.clf = RandomForestClassifier()
     self.xgb = XGBClassifier(objective='binary:logistic')
 def __init__(self, path, execution_id):
     self.Batch_Directory = path
     self.exexcution_id = execution_id
     #self.schema_path = 'schema_training.json'
     self.collection_name = "schema_training"  #code added by Avnish yadav
     self.database_name = "wafer_sys"  #code added by Avnish yadav
     #self.logger = App_Logger()
     self.logger_db_writer = App_LoggerDB(
         execution_id=execution_id)  #code added by Avnish yadav
     self.mongdb = MongoDBOperation()
     self.az_blob_mgt = AzureBlobManagement()
     self.good_directory_path = "good-raw-file-train-validated"
     self.bad_directory_path = "bad-raw-file-train-validated"
 def __init__(self, execution_id):
     self.mongodb = MongoDBOperation()
     self.az_blob_mgt = AzureBlobManagement()
     self.logger_db_writer = App_LoggerDB(execution_id=execution_id)
     self.good_file_path = "good-raw-file-prediction-validated"
     self.bad_file_path = "bad-raw-file-prediction-validated"
 def __init__(self, execution_id):
     self.mongoDBObject = MongoDBOperation()
     self.azureBlobObject = AzureBlobManagement()
     self.execution_id = execution_id