Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Compulsory Task 2 Follow these steps: This task handles the normalisation and standardisation of variables. For more information about normalisation and standardisation, see here. Continue
Compulsory Task
Follow these steps:
This task handles the normalisation and standardisation of variables. For more information about normalisation and standardisation, see here. Continue to compulsory task in datapreprocessing.ipynb, in which you do the following:
For the following examples, decide whether normalisation or standardisation makes more sense:
a You want to build a linear regression model to predict someone's grades, given how much time they have spent on various activities during a typical school week. You notice that your measurements for how much time students spend studying aren't normally distributed: some students spend almost no time studying, while others study for four or more hours daily. Should you normalise or standardise this variable?
b You're still working with your students grades, but you also want to include information on how students perform on several fitness tests. You have information on how many jumping jacks and pushups each student can complete in a minute. However, you notice that
students perform far more jumping jacks than pushups: the average for the former is and for the latter, only Should you normalise or standardise this variable?
Visualise the EGELC.ACCS.ZS column from the countries dataset using a histogram. Then, scale the column using the appropriate scaling method normalisation or standardisation Finally, visualise the original and scaled data alongside each other. Note EGELC.ACCS.ZS is the percentage of the population with access to electricity.
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