def __init__(self):
     try:
         self.train_model_logs = pd.read_csv('Logs\\TrainingLogs\\train_model_logs.csv')
     except:
         self.train_model_logs = pd.DataFrame(columns=['date', 'time', 'logs'])
     self.loggerObj = application_logger.logger()
     self.data_loader = trainingDataLoader.data_loader(self.loggerObj,self.train_model_logs)
     self.preprocess = dataPreprocessor.processData(self.loggerObj,self.train_model_logs)
     self.model_finder_obj = modelFinder.modelFinder(self.loggerObj,self.train_model_logs)
     self.save_modelObj = saveLoadModel.saveLoadModel(self.loggerObj,self.train_model_logs)
Exemplo n.º 2
0
 def __init__(self):
     # self variables
     try:
         self.prediction_validation_logs = pd.read_csv(
             'Logs\\Prediction Validation\\prediction_validation_logs.csv')
     except:
         self.prediction_validation_logs = pd.DataFrame(
             columns=['date', 'time', 'logs'])
     self.log_writer = application_logger.logger()
     self.raw_validate = validateRawPredictionData.validate_raw_data(
         self.log_writer, self.prediction_validation_logs)
     self.data_loader = predictionDataLoader.predictionDataLoader(
         self.log_writer, self.prediction_validation_logs)
 def __init__(self):
     # self variables
     try:
         self.train_validation_logs = pd.read_csv(
             'Logs\\Training Validation\\train_validation_logs.csv')
     except:
         self.train_validation_logs = pd.DataFrame(
             columns=['date', 'time', 'logs'])
     self.logger_object = application_logger.logger()
     self.raw_validate = validateRawTrainingData.validate_raw_data(
         self.logger_object, self.train_validation_logs)
     self.data_loader = trainingDataLoader.data_loader(
         self.logger_object, self.train_validation_logs)
Exemplo n.º 4
0
    def __init__(self):

        try:
            self.prediction_logs = pd.read_csv(
                'Logs\\Prediction Logs\\prediction_logs.csv')
            self.prediction_logs.drop('Unnamed :0', axis=1, inplace=True)
        except:
            self.prediction_logs = pd.DataFrame(
                columns=['date', 'time', 'logs'])

        self.loggerObj = application_logger.logger()
        self.data_loaderObj = predictionDataLoader.predictionDataLoader(
            logger_obj=self.loggerObj, log_file=self.prediction_logs)
        self.load_modelObj = saveLoadModel.saveLoadModel(
            loggerObj=self.loggerObj, log_file=self.prediction_logs)
        self.preprocessObj = dataPreprocessor.processData(
            logger_object=self.loggerObj, log_file=self.prediction_logs)