Question: 4 ) Create a custom transformer in your pipeline that: creates a new column in the data that sums the absences _ G 1 ,

4) Create a custom transformer in your pipeline that:
creates a new column in the data that sums the absences_G1, absences_G2, and absences_G3, data and then drops those three columns has a parameter that when equal to True, drops the G1 and G2 columns, and when False, leaves columns in the data 3) Fill in missing values or drop the rows or columns with missing values inside your pipeline. 5) Perform feature scaling on continuous numeric data in profile. 6) One- hot encode normal or categorical data in a pipeline. 7) Create a column transformer to transform your numeric and categorical data. 8) 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 G1/ G2 and another without the G1/ G2 columns

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!