ccsf-math-108 / materials-sp24

Student materials for MATH 108: Foundations of Data Science
https://www.ccsf.edu/math
Creative Commons Zero v1.0 Universal
1 stars 1 forks source link

Lab 11 Task 04 #12

Closed shawnwiggins closed 4 months ago

shawnwiggins commented 4 months ago

A student reported:

I've gone through lab 11 task 4, and I'm finding a mismatch between the results in my table and what is listed under the section "Example Point":

Let's use the first penguin listed in the test table as an example to use for a few tasks. That penguin should have a culmen length of 52.0 mm and a flipper length of 197 mm. You will now make and use a kNN classifier to predict the Adélie label for that penguin.

The penguin with those attributes is in the middle of my training set (so not right on the border). My test set starts with an Adelie/True, Culmen Length/43.1, Flipper Length/197.

I can't figure out where I'm going wrong - I do pass the grader, but it's only checking the size of the two sets, not the content.

This can wait until class to resolve, I'm just wondering if there is something wrong with np.seed(2024) not working as expected?

The issue is that the description under "An Example Point" does not match the first row from the random test set generated.

shawnwiggins commented 4 months ago

The description should be updated. If you click on the link in Canvas to Lab 10, then the changes should be imported into your notebook. I'll leave this issue open until the due date for this assignment.