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
drek231 [11]
3 years ago
11

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:
Firlakuza [10]3 years ago
6 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
Can someone help me with some questions please for brainless and points​
Kipish [7]

Answer:189

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
An algorithm takes 0.5 seconds to run on an input of size 100. How long will it take to run on an input of size 1000 if the algo
dexar [7]

Answer:

linear: 5s

quadratic: 50s

log-linear: 0.75 s

cubic: 500s

Step-by-step explanation:

Let t_1,t_2 be the running time associated with the input of sizes s_1,s_2

If the running time is linear

t_2 = t_1\frac{s_2}{s_1} = 0.5*\frac{1000}{100} = 0.5*10 = 5s

If the running time is quadratic

t_2 = t_1\left(\frac{s_2}{s_1}\right)^2 = 0.5*\left(\frac{1000}{100}\right)^2 = 0.5*10^2 = 50s

If the running time is log-linear

t_2 = t_1\frac{log(s_2)}{log(s_1)} = 0.5*\frac{log(1000)}{log(100)} = 0.5*1.5 = 0.75s

If the running time is cubic:

t_2 = t_1\left(\frac{s_2}{s_1}\right)^3 = 0.5*\left(\frac{1000}{100}\right)^3 = 0.5*10^3 = 500s

6 0
3 years ago
Miguel designs a square garden. Each side length is 3x + 5. Write an expression to find the perimeter of Miguel’s garden.
const2013 [10]

Answer:

12x+20

Step-by-step explanation:

Perimeter of a garden = 4s, s being the length of the side

In this case, s = 3x+5

substitute the equation

4(3x+5)

=12x+20

8 0
3 years ago
Complete the table with values for x or y that make this equation true: 3x+y=15
Ipatiy [6.2K]

Answer:

x=5

y=0

or

x=1

y=12

Step-by-step explanation:

I guess you can make it up as long as it equals 15, I guess that's what the question is saying??

7 0
3 years ago
What is the square root of -1<br>-i<br>i<br>-1<br>1​
Serhud [2]

Answer:

i

Step-by-step explanation:

√-1 is always going to be imaginary i

That is a math rule needed to memorize.

5 0
3 years ago
Other questions:
  • What is the length of segment AB?<br> 20 POINTS PLS HELP pls<br> I WILL MARK YOU AS BRAINEST
    15·2 answers
  • If I have 100 dollars and I give my sister 20 how much do I have ?
    13·2 answers
  • How do you solve the system by substitution?<br><br> y = 4x + 24<br> y = 5x
    12·2 answers
  • Find the value of see that makes P squared plus 6p Plus c a perfect square
    6·1 answer
  • A political analyst found 43% of 300 randomly selected republican voters feel that the federal government has too much power. Fi
    13·1 answer
  • how do i write and expression for the calculation triple 4 and then add seven times seven Please Somebody Help Me
    11·1 answer
  • find the missing side of the triangle below. please round your final answer to the nearest tenth. Be sure to show all work! Use
    12·1 answer
  • The graph of the equation
    10·1 answer
  • Si 46 x + 322 = 1242 cual es el valor de x?
    11·1 answer
  • PLEASE HELP I WILL MARK BRAINLEST
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!