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
Yikes mctugg bought 1/2pound of potato salad . He ate 2/3of it for lunch .How much potato salad was left for an afternoon snack
Anna007 [38]

\frac{1}{2}  -  \frac{2}{3}( \frac{1}{2}) =  \frac{1}{2} -  \frac{2}{6} =  \frac{3}{6} -  \frac{2}{6} =  \frac{1}{6} pound
5 0
3 years ago
Milton makes trail mix for his hiking group he makes a 1 and 1/4 pound of peanuts 14 oz of raisins 12 oz of walnuts in 10 oz of
strojnjashka [21]

Answer:

Each hiker receives 7 ounces of trail mix

Step-by-step explanation:

Trail mix=quantity of peanuts+quantity of raisins+quantity of walnuts+quantity of chocolate chips

where;

Quantity of peanuts=1.25 pounds

Quantity of raisins=14 oz, since 1 pound=16 oz.

Quantity of raisins=(14/16)=0.875 pounds

Quantity of walnuts=12 oz=(12/16)=0.75 pounds

Quantity of chocolate chips=10 oz=(10/16)=0.625 pounds

Replacing;

Trail mix=(1.25+0.875+0.75+0.625)=3.5 pounds

Trail mix=Quantity per hiker×Number of hikers

where;

Trail mix=3.5 pounds

Quantity per hiker=q

Number of hikers=8

Replacing;

3.5=q×8

q=3.5/8=0.4375 pounds

I pound=16 ounces

q=0.4375×16=7 ounces

Each hiker receives 7 ounces of trail mix

8 0
3 years ago
Solve the following quadratic equation for all values of x in simplest form.
Lynna [10]

Step-by-step explanation:

x = 2/5 or x = 0 Hope that will help

7 0
3 years ago
Square root of -19 in terms of i​
yulyashka [42]

Answer:

i√19

Step-by-step explanation:

Because √(-19) = √(-1)√19, and because √(-1) = i, we get i√19

7 0
3 years ago
If school ended today what is the first thing you'd do?
Katarina [22]

Answer:

hhehehehheh

Step-by-step explanation:

1.Go to home

2.Plug in the computer

3. Play all trigger games

5 0
3 years ago
Other questions:
  • Factor completely x³ - 7x² + 2x + 40 given x = -2 is a root.
    10·1 answer
  • Identify the linear term in the function.<br><br> y = 2x2 − 5x − 12
    10·1 answer
  • Aurelia would like to save $474.72 in a year to purchase a new video camera.She estimates she needs to save $40 per month.Explai
    14·1 answer
  • Solve 821×54 using an area model
    11·1 answer
  • The population of a town increases at the rate of 1% each year. today the town’s population is 8,500. what will the population b
    7·1 answer
  • By visual inspections, determine the best fitting regression model for the scatterplot
    15·2 answers
  • Simplify: 3x + 9 +2x-3
    15·2 answers
  • Usually it the other way around but i wanted to help people who had this along with the riddle at the bottom
    8·1 answer
  • Question down below?
    8·2 answers
  • A rectangular lawn 80 m x 60 m has two roads each 10m wide running in the middle of it, one parallel to the length and the other
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!