Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Answer

Part 2: The tiny dataset bellow incldues data collected from companys 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 data represent 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

Students also viewed these Accounting questions