Reader small image

You're reading from  Predictive Analytics Using Rattle and Qlik Sense

Product typeBook
Published inJun 2015
Reading LevelIntermediate
Publisher
ISBN-139781784395803
Edition1st Edition
Languages
Right arrow
Authors (2):
Ferran Garcia Pagans
Ferran Garcia Pagans
author image
Ferran Garcia Pagans

Ferran Garcia Pagans studied software engineering at the University of Gironaand Ramon Llull University. After that, he did his masters in business administration at ESADE Business School. He has 16 years of experience in the software industry,where he has helped customers from different industries to create software solutions. He started his career working at the Ramon Llull University as a teacher and researcher.Then, he moved to the Volkswagen group as a software developer. After that, he worked with Oracle as a Java, SOA, and BPM specialist. Currently, he is a solution architect at Qlik, where he helps customers to achieve competitive advantages with data applications.
Read more about Ferran Garcia Pagans

Fernando G Pagans
Fernando G Pagans
author image
Fernando G Pagans

Ferran Garcia Pagans studied software engineering at the University of Gironaand Ramon Llull University. After that, he did his masters in business administration at ESADE Business School. He has 16 years of experience in the software industry,where he has helped customers from different industries to create software solutions. He started his career working at the Ramon Llull University as a teacher and researcher.Then, he moved to the Volkswagen group as a software developer. After that, he worked with Oracle as a Java, SOA, and BPM specialist. Currently, he is a solution architect at Qlik, where he helps customers to achieve competitive advantages with data applications.
Read more about Fernando G Pagans

View More author details
Right arrow

Measuring the performance of classifiers


In this section, we'll see how to measure the performance of a classifier. In the example we saw in the previous chapter, a Decision Tree can predict that a new customer will not default, but actually he/she does default. We need a mechanism to evaluate the error rate of a decision tree; this mechanism is the confusion matrix or the error matrix.

Confusion matrix, accuracy, sensitivity, and specificity

Coming back to our loan example, imagine you have classified 1000 loans using a Decision Tree. For each loan, our classifier has added a label with the value yes or no, depending upon whether the algorithm predicts that the customer will default or not. In order to generalize, we will use the terms positive or negative classification. In our loans example, we have a positive classified observation when our classifier predicted that a customer will default, so the value of the Default? Attribute is Yes.

In this scenario, there are four types of predictions...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Predictive Analytics Using Rattle and Qlik Sense
Published in: Jun 2015Publisher: ISBN-13: 9781784395803

Authors (2)

author image
Ferran Garcia Pagans

Ferran Garcia Pagans studied software engineering at the University of Gironaand Ramon Llull University. After that, he did his masters in business administration at ESADE Business School. He has 16 years of experience in the software industry,where he has helped customers from different industries to create software solutions. He started his career working at the Ramon Llull University as a teacher and researcher.Then, he moved to the Volkswagen group as a software developer. After that, he worked with Oracle as a Java, SOA, and BPM specialist. Currently, he is a solution architect at Qlik, where he helps customers to achieve competitive advantages with data applications.
Read more about Ferran Garcia Pagans

author image
Fernando G Pagans

Ferran Garcia Pagans studied software engineering at the University of Gironaand Ramon Llull University. After that, he did his masters in business administration at ESADE Business School. He has 16 years of experience in the software industry,where he has helped customers from different industries to create software solutions. He started his career working at the Ramon Llull University as a teacher and researcher.Then, he moved to the Volkswagen group as a software developer. After that, he worked with Oracle as a Java, SOA, and BPM specialist. Currently, he is a solution architect at Qlik, where he helps customers to achieve competitive advantages with data applications.
Read more about Fernando G Pagans