KNN adaptation help needed
Moderators: AmyCowen, kgudger, bfinio, MadelineB, Moderators
-
Owski
- Posts: 7
- Joined: Wed May 01, 2024 9:20 am
- Occupation: Student
KNN adaptation help needed
I use the breastcancer.ipynb file and applied the iris flower csv file to the program. Unfortuantly a multitude of errors arose that I attached below. I tried fixing most but some i could not fix. I need help urgently for an upcoming fair.
- Attachments
-
- Screenshot 2024-05-17 at 11.11.24 AM.png (3.05 MiB) Viewed 8787 times
-
- Screenshot 2024-05-17 at 11.11.20 AM.png (3.15 MiB) Viewed 8787 times
-
Owski
- Posts: 7
- Joined: Wed May 01, 2024 9:20 am
- Occupation: Student
Re: KNN adaptation help needed
These are more error photos
- Attachments
-
- Value errors are the one most common
- Screenshot 2024-05-17 at 11.19.24 AM.png (3.2 MiB) Viewed 8786 times
-
- ID doesnt exist
- Screenshot 2024-05-17 at 11.22.35 AM.png (3.17 MiB) Viewed 8786 times
-
amyCC
- Site Admin
- Posts: 405
- Joined: Wed Apr 01, 2020 4:02 pm
- Occupation: Moderator
- Project Question: *
- Project Due Date: *
- Project Status: Not applicable
Re: KNN adaptation help needed
Unfortunately, you won't simply be able to use the Iris dataset with the Breast Cancer KNN project colab notebook without being able to update the notebook yourself.
That will require that you understand the code well enough to do that. We don't have directions available to walk you through the changes that would be necessary. (It is also not possible to tell you, simply from the screenshots, what changes are required.)
The colab notebook is provided specifically for the dataset that is used in the breast cancer project.
According to our staff scientist, the Iris dataset is quite prevalent in machine learning education. There are a number of resources online you might consult to do a project using the Iris dataset -- not related to our KNN project.
You might find this video playlist helpful: https://www.youtube.com/watch?v=rdaG53k ... tsTTX87JNr
Amy
Science Buddies
That will require that you understand the code well enough to do that. We don't have directions available to walk you through the changes that would be necessary. (It is also not possible to tell you, simply from the screenshots, what changes are required.)
The colab notebook is provided specifically for the dataset that is used in the breast cancer project.
According to our staff scientist, the Iris dataset is quite prevalent in machine learning education. There are a number of resources online you might consult to do a project using the Iris dataset -- not related to our KNN project.
You might find this video playlist helpful: https://www.youtube.com/watch?v=rdaG53k ... tsTTX87JNr
Amy
Science Buddies

