Construct a confusion matrix
Course:- Basic Computer Science
Reference No.:- EM132336791

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> Basic Computer Science


Question 1. Open the file, s048r.txt, provided with this assignment (tab delimited). This file contains a verification test result. It contains two columns, test.subject and test.out. test.subject is the true label, and test.out is the prediction result. You may use any tools or language you would like including excel. Answer the following questions based on the prediction result in this file. *Note that the positive class here is s048.

a. Construct a confusion matrix.

b. What is the accuracy of this model? Is this a useful measure to evaluate the model?

c. Compute FMR, FNMR, Precision, and Recall.

Question 2. Answer the following questions in your own words.

a. How are singularities used in fingerprint recognition?

b. What is the thinning process in fingerprint feature extraction? And what benefit do they have?

c. Why do we need to find local ridge orientation and frequency earlier on in the processing of fingerprint image?

Question 3. Perform a singularity detection in the following data. Use the definitions used in week 3 live session slides. Your answer should include all missing values in the table and the type of singularity detected.





































Use the following two equations to fill in the column titled δ and the column titled Δ.

δ (k)= θ ((k +1)mod N )- θ (k)

            δ (k)     if |δ (k)|< Π/2
Δ(k) =   δ (k)+Π  if δ (k) ≤ -Π/2
           δ (k)-Π   if δ (k) ≥ Π/2

Once you have filled in the table give the type of singularity you believe is being represented based on:

                         360, then whorl

                         180, then loop

k∈(0...7} Δ(k) = - 180, then delta

                          0, then singularity

Question 4. Determine the 3x3 binary pixel grid for:

a) A bifurcation point;

b) A non-minutiae point
(In live session we displayed and discussed the grid for the termination case).

For each specify:
- The values of b0 , ... , b7 for each case.
- What are their crossing numbers?


Crossing Number = ∑i∈(1...7)|bi - b(i+1)mod8|

Question 5. The following image shows the values in grayscale. Perform the necessary steps to detect minutiae points. You don't need to detect any minutiae centered at the edge. Show your steps. Your result will include the coordinate of detected minutiae points and their types.

Note: 0 represents the darkest shade, higher numbers represent brighter shades.


Attachment:- s048r 1.rar


Verified Expert

The present solution is based on the concept of Phython programming.The solution is completely new and is free from any type of plagiarism.Instructions were followed for the preparation of this assignment.The solution is submitted in the Microsoft Word file. References will be included in the next assignment.

Put your comment
View Conversion
  1. user image

    This assignment is due by the week 4 live session. If you make any assumptions, clearly state them in your answer.Note: 0 represents the darkest shade, higher numbers represent brighter shades. Please use python or excel to parse the data for question 1 for getting the confusion matrix. Attached please find the file to be parsed for question 1.

Ask Question & Get Answers from Experts
Browse some more (Basic Computer Science) Materials
For example, a link with zero jitter, a bandwidth high enough to write on every other clock tick, and a latency of 1 tick might yield something like (0000, 0001), (0002, 000
Write down some of the strategic advantages the VoIP brings to businesses that adopt it? Prior, voice and data networks were separate and typically maintained by separate
You are a movie producer. You have ordered film to be shot at a resoluton of 2002 x 3000 at 64 bit color. What is the size of one frame, WHat is the size of one second of film
Show that the multiplicative property holds for RSA, i.e., show that the product of two ciphertexts is equal to the encryption of the product of the two respective plaintext
Create 7-bit adder. Inputs are X[6..0], Y[6..0], and Cin. Outputs are S[6..0] = X[6..0] + Y[6..0] + Cin, where + is arithmetic addition. Implement adder in LogicWorks. The pa
LMB drag out a rectangle such that the rectangle extends from the center position and one of the corner positions of the rectangle always follows the current mouse position.
Change the fi le name in the first comment. Modify the program so that it uses two value-returning functions: one to determine the fat calories and the other to determine th
Propose an alternative approach, for example, by modifying the exponential back off. What aspects of a station's history might be used as parameters to the modified back off