Seasonal extracts seasonal data from time stamps.
The preprocessor automatically iterates through all time stamps in any data frame and extracts seasonal parameters.
- These include:
The algorithm also evaluates the potential usefulness of any extracted seasonal parameter. Parameters that are unlikely to be useful are not included.
seasonal = getml.preprocessors.Seasonal() pipe = getml.pipeline.Pipeline( population=population_placeholder, peripheral=[order_placeholder, trans_placeholder], preprocessors=[seasonal], feature_learners=[feature_learner_1, feature_learner_2], feature_selectors=feature_selector, predictors=predictor, share_selected_features=0.5 )