Question: 4 ) Create a custom transformer in your pipeline that: creates a new column in the data that sums the absences _ G 1 ,
Create a custom transformer in your pipeline that:
creates a new column in the data that sums the absencesG absencesG and absencesG data and then drops those three columns has a parameter that when equal to True, drops the G and G columns, and when False, leaves columns in the data Fill in missing values or drop the rows or columns with missing values inside your pipeline. Perform feature scaling on continuous numeric data in profile. One hot encode normal or categorical data in a pipeline. Create a column transformer to transform your numeric and categorical data. Correctly transform your training data using the above data preparation steps and pipleines. I should have distinct sets of transformed training data: one containing the G G and another without the G G columns
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
