Skip to content

UofT-DSI | LCR - Assignment 1#1

Open
cookiejars8 wants to merge 2 commits intomainfrom
assignment-one
Open

UofT-DSI | LCR - Assignment 1#1
cookiejars8 wants to merge 2 commits intomainfrom
assignment-one

Conversation

@cookiejars8
Copy link
Owner

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

  • [Y ] I can confirm that my changes are working as intended

Copy link

@PatelVishakh PatelVishakh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link

@PatelVishakh PatelVishakh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants