Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started