Answered step by step
Verified Expert Solution
Link Copied!

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 ,

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL For Data Science Data Cleaning Wrangling And Analytics With Relational Databases

Authors: Antonio Badia

1st Edition

3030575918, 978-3030575915

More Books

Students also viewed these Databases questions

Question

Are my points each supported by at least two subpoints?

Answered: 1 week ago