answersLogoWhite

0


Best Answer

There is no automated way of calculating the TP,TN,FP,& FN. You have to determing them manually or atleast the TP. What you can do is create a hash table and enter all the true matches or the true positives. You can then call the hash table in a hash map and detemine the accuracy of your output that's what i did for my paper. Hope this helps

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In data mining how do you count True Positive False Negative False Positive and True Negative in a confusion matrix with more than two classes?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a matrix and a scalar?

A matrix and a scalar is a matrix. S + M1 = M2. A scalar is a real number whose square is positive. A matrix is an array of numbers, some of which are scalars and others are vectors, square of the number is negative. A matrix can be a quaternion, the sum of a scalars and three vectors.


How do you find a negative matrix in algebra?

For example, if you have [ -4 1 0 3] as your matrix, it would be negative 4. Whatever negative number is in your matrix is your answer.


Definition of nilpotent matrix?

Nilpotent Matrix A matrix A for which AP=0 where P is a positive integer is called nilpotent matrix. If P is the least positive integer for which AP=0 then A is said to be nilpotent of index P.


How do you find areas of triangle using determinants?

Let the 3 vertices of the triangle be 3 points. Each point is an ordered pair. Write the 3 points as rows of a 3x3 matrix with each point being a row and the third entry in each row is 1. For example if one vertex was located at (1,2) The row of the matrix would be 1 2 1 Do the same with all the vertices. Then take 1/2 the determinant of that matrix and that is the area. If it is a negative number, then take the positive value. It will be negative or positive depending on the order of the rows, but area is always positive.


How do you make a matrix negative?

Multiply -1 by every entry in the matrix. (Flip the signs.)


What makes up the organic and inorganic portions of matrix?

The two major components of the matrix are ground substances and fibers. Fibers can be broken into the classes; collagen, elastic and reticular fibers.


What is the distinction between matrix and dispersed phases in a composite material?

The matrix phase is a continuous phase that transfers stress to other phases. It protects phases from the environment. There are three classes of matrix phases which are commonly known as metal matrix composite (MMC), ceramic matrix composite (CMC) and polymer matrix composite (PMC). The dispersed phase is utilised to enhance matrix properties. The classes are particle reinforced composites, fibre reinforced composites and structural composites. Also, dispersed phase geometry is dependent upon concentration, size, shape, distribution and orientation.


What are the differences between an idempotent matrix and a generalized inverse of a matrix?

Idempotent Matrix:An idempotent matrix, A, is the specific periodic matrix (see note) where k=1, thus having the property A2=A (we can also say A.A=A).Inverse Matrix:Given a square matrix, A, its inverse is B if AB=BA.Note:A periodic matrix, A, has the property Ak+1=A where k is a positive integer. If k is the least positive integer for which Ak+1=A, then A is said to be of period k.


Where does EDP pathway occur?

EDP pathway occurs in cytoplasmic matrix of soil microbes like pseudomonas , rhizobium , acetobacter , agrobacterium and gram negative bacteria. a gram positive bacteria , enterococcus faecalis also uses this pathway.


What is density matrix in quantum mechanics?

It is a Hermitian positive-semidefinite matrix of trace one that describes the statistical state of a quantum system. Hermitian matrix is defined as A=A^(dagger). Meaning that NxN matrix A is equal to it's transposed complex conjugate. Trace is defined as adding all the terms on the diagonal.


Strengths and weaknesses of matrix structure?

WEAKNESS OF MATRIX ORGANIZATION1. Costly to maintain personnel pool of staff matrix.2. Participants experience dual authority of matrix manager and functional area manager.3. Little interchange with functional groups outside the matrix; so there may be duplication of efforts.4. Participants of matrix need to have good interpersonal skill in order for it to work.5. Frustration and confusion due to dual chain of command6. Too much of meetings and discussions7. Power is generally dominated by one side of the matrix.


What's the determinant of a matrix?

A determinant is defined for square matrices only.To find the determinant of the matrix you need to:find all n-tuples of elements of the matrix such that each row and each column of the matrix is represented.calculate the product of the elements.calculate the sign for that term. To see how this is done, see below.calculate the sum of the signed products: that is the determinant.To calculate the sign for the product of the n-tuple, arrange the elements in row order. Swap the elements, two at a time, to get them in column order. If the number of swaps required is even then the product is assigned a positive sign, and if odd then a negative sign.