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
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