This is the feature engineering for the training and test set. This represents the main part of the project's work.