Conversation
PatelVishakh
left a comment
There was a problem hiding this comment.
Assignment Pending resubmission:
No Output for Code in Q1), Q3), Q4)
Q1)III) The type of variable is categorical. In a data science setting, this question is asking whether the variable is numerical or categorial (Integer, continuous, ordinal are for distinguishing further) to assess whether classification or regression methods should be used. The complete statement should Class is a Categorical Variable, represented here in integers (0,1,2) stored in our Dataframe as int64.
Q2)I)The more accurate explanation is that Knn relies heavily on comparing distances between datapoints to fit a model to the data. Hence Variables with large scales sway the DISTANCE computation more, influencing the estimation quite incorrectly .
Q2)II) We did not standardize the response variable Class not because it is categorical but rather because it is response variable and we do not standardize the response variable, because that is the quantity of interest and we would have to rescale our predictions interpretable.
Q2)III) No response.
PatelVishakh
left a comment
There was a problem hiding this comment.
Assignment 1 Complete!
Suggested changes:
Q1)III) The type of variable is categorical. In a data science setting, this question is asking whether the variable is numerical or categorial (Integer, continuous, ordinal are for distinguishing further) to assess whether classification or regression methods should be used. The complete statement should Class is a Categorical Variable, represented here in integers (0,1,2) stored in our Dataframe as int64.
Q2)III) Does the value of seed matter?
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
completing assignemnt
What did you learn from the changes you have made?
LCR is hard!
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
n/a
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
n.a
How were these changes tested?
via VS code
A reference to a related issue in your repository (if applicable)
n/a
Checklist