def __init__(self): self.log = LoggerUtil(self.__class__.__name__).get() self.config = ConfigUtil.get_config_instance() self.model = LinguisticModel() self.read_data = ReadData() self.metrics = Metrics() self.helper = Helper() self.logic = Logic()
def __init__(self): self.log = LoggerUtil(self.__class__.__name__).get() self.config = ConfigUtil.get_config_instance() self.process_data = ProcessData() self.helper = Helper() self.ps = PorterStemmer() self.stop_words = set.union(STOP_WORDS, { 'ect', 'hou', 'com', 'recipient', 'na', 'ou', 'cn', 'enron', 'zdnet' })
def __init__(self): self.log = LoggerUtil(self.__class__.__name__).get() self.config = ConfigUtil.get_config_instance() self.read_data = ReadData() self.bayes = NaiveBayes() self.lr = LRModel() self.dt = DecisionTree() self.rf = RandomForest() self.et = ExtraTree() self.adaboost = Adaboost() self.mlp = MLP()
def __init__(self): self.log = LoggerUtil(self.__class__.__name__).get() self.config = ConfigUtil.get_config_instance() self.helper = Helper() self.metrics = Metrics()
def __init__(self): self.log = LoggerUtil(self.__class__.__name__).get() self.config = ConfigUtil.get_config_instance() self.db_utils = DBUtils()