Skip to content

Conversation

@hashimi07
Copy link
Owner

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

I am submitting my completed assignment notebook for Assignment 1, which includes data inspection, preprocessing, model training, and evaluation.

What did you learn from the changes you have made?

I learned how to prepare data for machine learning, use KNN with cross-validation, and evaluate model performance.

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

I followed the assignment instructions and standard methods for KNN classification as required. I also referred to the class recording for more details.

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

Had to install some of the libraries again, and was able to overcome it by fixing my configuration.

How were these changes tested?

I ran all cells in the Jupyter notebook and verified the outputs matched expectations.

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

Checklist

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

Copy link

@KasraVakiloroayaei KasraVakiloroayaei left a comment

Choose a reason for hiding this comment

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

A1 : Complete

The stratify argument in train_test_split used to equally proportion observations across the classes of our response can influence the selection of our hyper parameter k nearest neighbours. I would suggest trying it and seeing how it can influence the remainder of your modelling approach.

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.

3 participants