Skip to content

Assignment 1 resubmit with working jupyter notebook#2

Open
ottp613 wants to merge 2 commits intomainfrom
assignment-1-retry
Open

Assignment 1 resubmit with working jupyter notebook#2
ottp613 wants to merge 2 commits intomainfrom
assignment-1-retry

Conversation

@ottp613
Copy link
Owner

@ottp613 ottp613 commented Jan 11, 2026

UofT-DSI | LCR Assignment 1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

panda data set, numpy usage, crossvalidation and model testing

What did you learn from the changes you have made?

panda, dataset, data inspection, Standardization and data-splitting, cross-validation, and Model testing

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

NA

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

not much but I used copilot for suggestions

How were these changes tested?

locally

A reference to a related issue in your repository (if applicable)

Checklist

  • I can confirm that my changes are working as intended

@ottp613 ottp613 mentioned this pull request Jan 11, 2026
1 task
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! Thank you for fixing the render issue

Strong suggestions for changes:

When answering questions rather then commenting in after manually reading the output, should automate it. for eg.

Number of observations (rows)
num_observations = wine_df.shape[0]
print(f"Number of observations: {num_observations}")

Q1)III) The type of variable is categorical. In a data science setting, this question is asking whether the variable is continuous or categorial(integer, ordinal are other options).

Q2) I) Explain how does standardizing make the comparission fair and uniform?

Q2)II) We did not standardize the response variable Class not because it is categorical, but rather that is the quantity we are interested in predicting and we would have to rescale our predictions make them in the same units and interpretable.

@ottp613
Copy link
Owner Author

ottp613 commented Jan 16, 2026

@PatelVishakh thanks for the suggestions. Made all changes as directed.

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