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
Anastaziya [24]
3 years ago
10

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:
chubhunter [2.5K]3 years ago
8 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
50 POINTS SOMEONE PLEASE HELP WHATS 2+2 <br> A.) 4<br><br> B.) 2<br><br> C.)5<br><br> D.) 1230
Semenov [28]

Answer:

2+2=4

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
-1.398 = 2.2 + n/-5.53<br> Does this look good so far? <br> -1398 = 2200 + n/5530 - 2200
insens350 [35]

Answer:

  n = 19.89694

Step-by-step explanation:

You can work the problem using decimal numbers. There is no need to convert everything to integers. Trying to do so just gets you in trouble.

Subtract 2.2 from both sides:

  -1.398 -2.200 = n/-5.53

  -3.598 = n/-5.53

Now, multiply both sides by -5.53:

  (-5.53)(-3.598) = n = 19.89694

_____

The one rule that cannot be violated in algebra is that <em>you must do the same thing to both sides of the equation</em>.

_____

Your "solution" so far has a couple of errors. The first is that you have apparently multiplied all of the numbers by 1000. Unfortunately, when you multiply a denominator by 1000, it is the same as dividing by 1000. So, you have multiplied the left side by 1000, multiplied one term on the right by 1000 and divided another term on the right by 1000. This turns the equation into something different than what you started with, and will give a wrong answer.

The second error is that you have subtracted 2200 only from the right side. This, too, will turn the equation into something different than what you started with, and will give a wrong answer.

7 0
3 years ago
Mary rolls two dice. She adds the numbers on the two dice. What is the chance of this sum being twelve?
jonny [76]

Answer:

10%

Step-by-step explanation:

sorry if u fail yeahh

5 0
3 years ago
Read 2 more answers
Explain how bias in the survey might have affected the results. A survey asks teens, “Do you, like most teenagers, dislike liste
Mamont248 [21]
B the phrasing of the question suggest a bias against classical music

that is the answer because they are assuming that no teens like classic music, which is just an opinion, which is bias :)
8 0
3 years ago
Annie works as both a carpenter and a blacksmith. Last week she worked 12 hours as a carpenter and 20 hours as a blacksmith and
Minchanka [31]

Answer:Let x = pay per hour as a carpenter and y = pay per hour as a blacksmith

Last week she worked 12 hours as a carpenter

earning 12x dollars

and 20 hours as a blacksmith

earning 20y dollars

and earned a total of $860

and those two things add up to 860.

Do the same with the other sentence, giving you a second equation.

Step-by-step explanation:

6 0
3 years ago
Other questions:
  • A puppy has a mass of 4,500 grams and a kitten has a mass of 450,000 milligrams which statement is true about the animals
    8·1 answer
  • 5x100+4x10+6x1+2x(1/10)+8x(1/1000) write in standard form
    14·1 answer
  • Can you give me answer to both questions am confused . Thank you .
    9·1 answer
  • What is the equivalent fraction for 9/25
    12·2 answers
  • A regular hexagon is inscribed in a circle as shown determine the measure of FE
    10·2 answers
  • Find the domain and range of the given graph?<br>HELPPPP PLSS​
    14·1 answer
  • PLZ HELP QUICK!!
    15·2 answers
  • Help me fast please I cant figure out this question!!!!
    13·1 answer
  • Integrate the question below<br>​
    14·1 answer
  • The World Health Organization lists the following overall literacy rates per 100 people for countries. Which answer choice inclu
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!