1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
notsponge [240]
3 years ago
5

A data mining routine has been applied to a transaction dataset and has classified 88 records as fraudulent (30 correctly so) an

d 952 as non fraudulent (920 correctly so). Construct the classification matrix and calculate the error rate.Suppose that this routine has an adjustable cutoff (threshold) mechanism by which you can alter the proportion of records classified as fraudulent. Describe how moving the cutoff up or down would affect the following:a. The classification error rate for records that are truly fraudulentb. The classification error rate for records that are truly non fraudulent

Mathematics
1 answer:
MrMuchimi3 years ago
3 0

Answer:

The classification matrix is attached below

Part a

The classification error rate for the records those are truly fraudulent is 65.91%.

Part b

The classification error rate for records that are truly non-fraudulent is 96.64%

Step-by-step explanation:

The classification matrix is obtained as shown below:

The transaction dataset has 30 fraudulent correctly classified records out of 88 records, that is, 30 records are correctly predicted given that an instance is negative.

Also, there would be 88 - 30 = 58 non-fraudulent incorrectly classified records, that is, 58 records are incorrectly predicted given that an instance is positive.

The transaction dataset has 920 non-fraudulent correctly classified records out of 952 records, that is, 920 records are correctly predicted given that an instance is positive.

Also, there would be 952 - 920 = 32 fraudulent incorrectly classified records, that is, 32 records incorrectly predicted given that an instance is negative.

That is,

                                                                            Predicted value

                           Active value                 Fraudulent       Non-fraudulent

                              Fraudlent                         30                       58

                          non-fraudulent                   32                     920

The classification matrix is obtained by using the information related to the transaction data, which is classified into fraudulent records and non-fraudulent records.

The error rate is obtained as shown below:

The error rate is obtained by taking the ratio of \left( {b + c} \right)(b+c) and the total number of records.

The classification matrix is, shown above

The total number of records is, 30 + 58 + 32 + 920 = 1,040

The error rate is,

\begin{array}{c}\\{\rm{Error}}\,{\rm{rate}} = \frac{{b + c}}{{{\rm{Total}}}}\\\\ = \frac{{58 + 32}}{{1,040}}\\\\ = \frac{{90}}{{1,040}}\\\\ = 0.0865\\\end{array}  

The percentage is 0.0865 \times 100 = 8.65

(a)

The classification error rate for the records those are truly fraudulent is obtained by taking the rate ratio of b and \left( {a + b} \right)(a+b) .

The classification error rate for the records those are truly fraudulent is obtained as shown below:

The classification matrix is, shown above and in the attachment

The error rate for truly fraudulent is,

\begin{array}{c}\\FP = \frac{b}{{a + b}}\\\\ = \frac{{58}}{{30 + 58}}\\\\ = \frac{{58}}{{88}}\\\\ = 0.6591\\\end{array}  

The percentage is, 0.6591 \times 100 = 65.91

(b)

The classification error rate for records that are truly non-fraudulent is obtained by taking the ratio of d and \left( {c + d} \right)(c+d) .

The classification error rate for records that are truly non-fraudulent is obtained as shown below:

The classification matrix is, shown in the attachment

The error rate for truly non-fraudulent is,

\begin{array}{c}\\TP = \frac{d}{{c + d}}\\\\ = \frac{{920}}{{32 + 920}}\\\\ = \frac{{920}}{{952}}\\\\ = 0.9664\\\end{array}

The percentage is, 0.9664 \times 100 = 96.64

You might be interested in
At a store Mary please $34 for 2 pounds of apples 1 pound of berries and 4 pounds of chairs Tom pays $35 for 3 pounds of apples
MrRa [10]

Answer:

34 = 2A + 1B + 4C

35 = 3A + 2B+ 2C

49 = 5A + 3B+ 2C

Pairs the 1st and 2nd equation, then eliminates C:

34 = 2A + 1B + 4C

35 = 3A + 2B + 2C

34   =  2A  +  1B + 4C

-70 = -6A + -4B + -4C  <---- multiplies 2nd equation by -2

Adds them together

-36 = -4A + -3B

36 = 4A + 3B  <----- please label this equation ALPHA

Next, pairs the 2nd and 3rd equations, and eliminates C:

35 = 3A + 2B+ 2C

49 = 5A + 3B+ 2C

Subtracts the top equation from the bottom:

49-35 = 5a-3a + 3b-2b + 2c-2c

14 = 2a + b <--- please label this equation BETA

ALPHA: 36 = 4A + 3B

BETA:   14 = 2a + b

Solves the 2x2 system by substitution:

BETA: 14 - 2a = b <---- solves equation BETA for b

Substitutes into equation ALPHA:

36 = 4a + 3(14 - 2a)

36 = 4a + 42 - 6a

36 = 42 - 2a

-6 = -2a

a=3

b = 14 - 2a = 14 - 2(3) = 14 - 6 = 8

34 = 2a + b+ 4c

34 = 2(3)+ 8 + 4c

34 = 6+8 + 4c

34 = 14 + 4c

20 = 4c

c=5

1 pound of apples cost $3

1 pound of berries cost $8

1 pound of cherries cost $5

8 0
3 years ago
A music producer is making a list of vocalists needed to record an album. For each day of recording, a different number of vocal
Pani-rosa [81]

Answer:

6,138

Step-by-step explanation:

Given the following:

Vocalist needed :

First day (a) = 6

For subsequent days : number doubles

Using the relation. :

Sn = a(r^n -1)/(r -1)

Where a = first term = 6

r = common ratio = r3/r2 = r4/r3

Since number doubles after each consecutive day, then ; r = 2, n = 10

Sn = 6(2^10 -1)/(2 -1)

Sn = 6(1024 - 1) / 1

Sn = 6144 - 6

Sn = 6138

3 0
3 years ago
9-x/5=3 solve the folloswing equation for x
Debora [2.8K]

Answer:

x = 30

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
What is the radius and diameter of the following circle?
LUCKY_DIMON [66]
The guys is lying he is gonna get your up 7373
7 0
3 years ago
Find the probability of getting both heads when a coin is thrown twice​
katen-ka-za [31]

Answer:

hi :]

Step-by-step explanation:

7 0
3 years ago
Other questions:
  • All of the following solid figures except _____ have two congruent, parallel bases.
    10·1 answer
  • -6+10x=x+12 <br> solve for X
    6·2 answers
  • A beverage is made by mixing 2 parts of water with 3 parts of fruit juice. How many parts of water are mixed with 1 part of frui
    10·1 answer
  • The hypotenuse of a right triangle is 5 feet. One leg of the triangle is 3 feet. What is the length of the other leg (rounded to
    9·1 answer
  • Which fraction is closest to zero?<br> 3/8<br> 4/12<br> 2/6<br> 1/4
    5·2 answers
  • What is the cosine of angle D?
    11·2 answers
  • I need help with this ASAP I need to find the values of z and x on the picture attached .
    8·1 answer
  • HELP PLEASEEEEEE I WILL GIVE YOU BRAINLIEST
    9·1 answer
  • 1-58. Mr. Wright was making a table to figure out how much it costs to send a certain numt
    15·1 answer
  • Ricardo was mixing blue paint and yellow paint in a ratio of 3:5 to make green paint. He wants to make 40 liters of green paint.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!