pipeline.preprocessing package¶
Subpackages¶
- pipeline.preprocessing.features package
- Submodules
- pipeline.preprocessing.features.abstract module
- pipeline.preprocessing.features.class_map module
- pipeline.preprocessing.features.emsfeatures module
- pipeline.preprocessing.features.jimsfeatures module
- pipeline.preprocessing.features.mentalhealthfeatures module
- pipeline.preprocessing.features.miscfeatures module
- pipeline.preprocessing.features.person module
- pipeline.preprocessing.features.rsifeatures module
- pipeline.preprocessing.features.seqfeatures module
- Module contents
Submodules¶
pipeline.preprocessing.feature_processor module¶
pipeline.preprocessing.feature_table_builder module¶
-
pipeline.preprocessing.feature_table_builder.generate_fake_todays(fake_today, prediction_window, start_date)[source]¶ Given a final prediction window start date, the length of the prediction windows, and a training start date, return the start and end dates for all prediction windows as a dictionary.
Parameters: - fake_today (datetime) – start date for the final prediction window
- prediction_window (int) – length of the prediction windows in days
- start_date (datetime) – start date for the training period
Returns: start and end dates for all prediction windows
Return type: dict
-
pipeline.preprocessing.feature_table_builder.generate_feature_table(config, fake_today, prediction_window, start_date, feature_timestamp)[source]¶