Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quiz 2 Practice Solutions #34

Open
chendaniely opened this issue Jun 15, 2022 · 0 comments
Open

Quiz 2 Practice Solutions #34

chendaniely opened this issue Jun 15, 2022 · 0 comments

Comments

@chendaniely
Copy link
Contributor

chendaniely commented Jun 15, 2022

Describe a real-life application in which classification might be useful. Describe what you are trying to predict as well as the predictors/explanatory variables used in the prediction.

Classifying whether or not a tumor is malignant or benign given it's size (in mm) and shape (e.g., round, abnormally shaped, etc).

In your own words, explain the k-nearest neighbours classification algorithm.

See book chapter: https://datasciencebook.ca/classification1.html#classification-with-k-nearest-neighbors

In your own words, describe one advantage and one disadvantage of k-nn classification.

  • advantage: can work with non linear data, easy to implmenet
  • disadvantage: does not work well with large data; does not work will with many features (need to calculate a lot of distances); need to make sure data in all dimentions is standarized (center + scaled)

List 2 advantages of using GitHub for version control. Write your answer in your own words

see book chapter: https://datasciencebook.ca/Getting-started-with-version-control.html#what-is-version-control-and-why-should-i-use-it

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

No branches or pull requests

1 participant