Data preprocessing rework #23
No reviewers
Labels
No labels
CI/CD
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AndreFerreira5/downtown-cab-co!23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "data-preprocessing-rework"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The data preprocessor was reworked as a result of the changed project requirements. In summary, a large portion of redundant or otherwise useless code was removed, and many remaining features were adjusted or enhanced. The code was also restructured and is now more uniform. Tests were also implemented in a basic form.
The restructuring includes pipeline reordering, adding more customizable and default parameters and reorganizing their use in the pipeline.
Some logic inside the pipeline itself was also removed or changed as a result of the new requirements.
Note: Due to obvious reasons, the previous processer unit tests in #19 are outdated as of now, the ones implemented here should serve as the starting point.
really nice work! your changes correctly improve upon the initial version and adapt to the new dataset. however, one tiny error needs to be addressed before merging. the trip duration is calculated from tpep_pickup_datetime and tpep_dropoff_datetime, however, these columns are not dropped after this, which leads to target leakage, making the model cheat and adapt to these values.
just drop them when it's safe to do so and i think it is ready to merge
also, i think we could default the creation of certain features to True, like the hours of the day, the day of the week and the month, which you already implemented, because they are essential to improve the training.
looks good to me!