예제 #1
0
파일: nodes.py 프로젝트: vanpeltj/autokeras
 def get_hyper_preprocessors(self):
     hyper_preprocessors = []
     hyper_preprocessors.append(
         hpps_module.DefaultHyperPreprocessor(
             preprocessors.SlidingWindow(lookback=self.lookback,
                                         batch_size=self.batch_size)))
     return hyper_preprocessors
예제 #2
0
 def get_hyper_preprocessors(self):
     hyper_preprocessors = []
     if self.column_names:
         hyper_preprocessors.append(
             hpps_module.DefaultHyperPreprocessor(
                 preprocessors.CategoricalToNumericalPreprocessor(
                     column_names=self.column_names,
                     column_types=self.column_types,
                 )))
     hyper_preprocessors.append(
         hpps_module.DefaultHyperPreprocessor(
             preprocessors.SlidingWindow(lookback=self.lookback,
                                         batch_size=self.batch_size)))
     return hyper_preprocessors