Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1: Using the standard data partitioning, partition the follwoing financial fraud dataset into training and testing. Charges? Size Outcome Y small truthful N large

Part 1:Using the standard data partitioning, partition the follwoing financial fraud dataset into training and testing.

Charges? Size Outcome
Y small truthful
N large truthful
N large fraud
N small truthful
N small truthful
Y small fraud
N large truthful
Y large fraud
N small truthful
Y large fraud

Part 2:The tiny dataset bellow incldues data collected from company's investing activities. The follwoing data represent traning set:

Column 1 Column 2 Result
20 2 Not invest
11 3 Invest
6 3 Invest
2 4 Invest
4 4 invest

And the following datarepresent testing set:

Column 1 Column 2 Result
17 3 Invest
9 6

The task is to use KNN to classify new data. To do so, you are required to check weither K=3 or K=5 is better. You need to provide your calculations.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Business Ethics

Authors: Peter A. Stanwick, Sarah D. Stanwick

3rd Edition

1506303234, 9781506303239

Students also viewed these Mathematics questions

Question

3. On the playground, raise a hand or whistle to indicate Line up.

Answered: 1 week ago