subject

4. Assume you have the data set shown below. The data contains 10 instances, V1-V11 features, and a binary class (0 and 1). Instance V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 Category
1 1 2 3 1 0 1 3 4 5 10 10 1
2 0 1 2 4 6 3 2 5 5 9 9
3 1 2 4 3 6 5 7 9 8 10 10 0
4 10 3 5 9 8 4 7 6 4 4 0
5 2 1 10 8 9 1000 1 3 7 8 8 0
6 2 2 -100 5 7 8 10 1 1 1
7 9 9 9 9 9 9 9 9 9 9 9 0
8 2 4 6 3 10 1 200 1 7 7 1
9 6 6 6 6 0 0 0 0 0 0 0 1
10 5 5 5 5 5 5 5 5 5 5 5 1

Show all of the problems with the data, apply all of the preprocessing techniques, and perform the classification by KNN algorithm with an 80/20 train-test split ratio. I only need the code for the KNN algorithm.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
question
Computers and Technology, 23.06.2019 02:00
Which demographic challenge is europe currently experiencing? a. an aging and decreasing population b. a baby boomc. an unequal distribution between males and females d. a large group of teenagers moving through the school system(i chose a but i'm unsure)
Answers: 1
question
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
You know the right answer?
4. Assume you have the data set shown below. The data contains 10 instances, V1-V11 features, and a...
Questions
question
Computers and Technology, 25.02.2021 14:00
question
Biology, 25.02.2021 14:00
question
Mathematics, 25.02.2021 14:00
question
Mathematics, 25.02.2021 14:00
question
Mathematics, 25.02.2021 14:00
question
English, 25.02.2021 14:00
question
French, 25.02.2021 14:00
question
Computers and Technology, 25.02.2021 14:00
Questions on the website: 13722363