Concept explainers
Explanation of Solution
Given: A routine is applied with the help of data mining to the transaction dataset. The transaction dataset is categorized into fraudulent and non-fraudulent that has 88 records (30 correctly) and 952 records (920 correctly), respectively.
To find:Â The classification matrix and determine the error rate.
Solution:
In the given context, classification matrix provides the most accurate measure from the dataset.
The number of C0,1 classified cases correctly is n(0,0) = 30.
The number of C0,1 classified cases incorrectly as C1,0 is n(0,1) = 58.
The number of C1,0 classified cases incorrectly as C0,1 is n(1,0) = 32.
The number of C1,0 classified cases correctly is n(1,1) = 920.
The following is the classification matrix:
By analyzing the classification matrix, the values of both fraudulent and non-fraudulent are as follows:
The actual rate of fraudulent is n(0,1) = 58.
The actual rate of non-fraudulent is n(1,0) = 32.
Total number of records present in the dataset is n = 30 + 58 + 32 + 920 = 1040.
Evaluate the rate of error present in the dataset by using the formula of error rate.
Hence, the error rate is 8.65%.
Want to see more full solutions like this?
Chapter 5 Solutions
Data Mining for Business Analytics: Concepts, Techniques, and Applications with XLMiner
- EX:[AE00]=fa50h number of ones =1111 1010 0101 0000 Physical address=4AE00h=4000h*10h+AE00h Mov ax,4000 Mov ds,ax; DS=4000h mov ds,4000 X Mov ax,[AE00] ; ax=[ae00]=FA50h Mov cx,10; 16 bit in decimal Mov bl,0 *: Ror ax,1 Jnc ** Inc bl **:Dec cx Jnz * ;LSB⇒CF Cf=1 ; it jump when CF=0, will not jump when CF=1 HW1: rewrite the above example use another wayarrow_forwardEX2: Write a piece of assembly code that can count the number of ones in word stored at 4AE00harrow_forwardWrite a program that simulates a Magic 8 Ball, which is a fortune-telling toy that displays a random response to a yes or no question. In the student sample programs for this book, you will find a text file named 8_ball_responses.txt. The file contains 12 responses, such as “I don’t think so”, “Yes, of course!”, “I’m not sure”, and so forth. The program should read the responses from the file into a list. It should prompt the user to ask a question, then display one of the responses, randomly selected from the list. The program should repeat until the user is ready to quit. Contents of 8_ball_responses.txt: Yes, of course! Without a doubt, yes. You can count on it. For sure! Ask me later. I'm not sure. I can't tell you right now. I'll tell you after my nap. No way! I don't think so. Without a doubt, no. The answer is clearly NO. (You can access the Computer Science Portal at www.pearsonhighered.com/gaddis.)arrow_forward
- Principles of Information Systems (MindTap Course...Computer ScienceISBN:9781305971776Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781285196145Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos CoronelPublisher:Cengage LearningDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage Learning
- C++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage LearningNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage