Evaluation of segmentation. Example Reference standard & segmentation.

Slides:



Advertisements
Similar presentations
Viral Marketing – Learning Influence Probabilities.
Advertisements

Evaluating Classifiers
Chapter 4 Pattern Recognition Concepts: Introduction & ROC Analysis.
Statistical Significance and Performance Measures
Learning Algorithm Evaluation
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/ Other Classification Techniques 1.Nearest Neighbor Classifiers 2.Support Vector Machines.
Receiver Operating Characteristic (ROC) Curves
Sensitivity, Specificity and ROC Curve Analysis.
The University of Texas at Austin, CS 395T, Spring 2008, Prof. William H. Press 1 Computational Statistics with Application to Bioinformatics Prof. William.
Assessing and Comparing Classification Algorithms Introduction Resampling and Cross Validation Measuring Error Interval Estimation and Hypothesis Testing.
Classification and risk prediction
Model Evaluation Metrics for Performance Evaluation
Cost-Sensitive Classifier Evaluation Robert Holte Computing Science Dept. University of Alberta Co-author Chris Drummond IIT, National Research Council,
CS 8751 ML & KDDEvaluating Hypotheses1 Sample error, true error Confidence intervals for observed hypothesis error Estimators Binomial distribution, Normal.
Evaluating Classifiers Lecture 2 Instructor: Max Welling Read chapter 5.
© Vipin Kumar CSci 8980 Fall CSci 8980: Data Mining (Fall 2002) Vipin Kumar Army High Performance Computing Research Center Department of Computer.
Evaluating Hypotheses
Decision Theory Naïve Bayes ROC Curves
ROC Curves.
Jeremy Wyatt Thanks to Gavin Brown
Experimental Evaluation
ROC Curve and Classification Matrix for Binary Choice Professor Thomas B. Fomby Department of Economics SMU Dallas, TX February, 2015.
Jacinto C. Nascimento, Member, IEEE, and Jorge S. Marques
Lucila Ohno-Machado An introduction to calibration and discrimination methods HST951 Medical Decision Support Harvard Medical School Massachusetts Institute.
ROC Curves.
CSCI 347 / CS 4206: Data Mining Module 06: Evaluation Topic 07: Cost-Sensitive Measures.
Statistics in Screening/Diagnosis
Evaluation – next steps
Non-Traditional Metrics Evaluation measures from the Evaluation measures from the medical diagnostic community medical diagnostic community Constructing.
1 Evaluating Model Performance Lantz Ch 10 Wk 5, Part 2 Right – Graphing is often used to evaluate results from different variations of an algorithm. Depending.
Error estimation Data Mining II Year Lluís Belanche Alfredo Vellido.
Performance measurement. Must be careful what performance metric we use For example, say we have a NN classifier with 1 output unit, and we code ‘1 =
Data Analysis 1 Mark Stamp. Topics  Experimental design o Training set, test set, n-fold cross validation, thresholding, imbalance, etc.  Accuracy o.
Sensitivity Sensitivity answers the following question: If a person has a disease, how often will the test be positive (true positive rate)? i.e.: if the.
Chapter 10 Performance Metrics. Introduction Sometimes, measuring how well a system is performing is relatively straightforward: we calculate a “percent.
Classification Performance Evaluation. How do you know that you have a good classifier? Is a feature contributing to overall performance? Is classifier.
MEASURES OF TEST ACCURACY AND ASSOCIATIONS DR ODIFE, U.B SR, EDM DIVISION.
CT image testing. What is a CT image? CT= computed tomography CT= computed tomography Examines a person in “slices” Examines a person in “slices” Creates.
Error & Uncertainty: II CE / ENVE 424/524. Handling Error Methods for measuring and visualizing error and uncertainty vary for nominal/ordinal and interval/ratio.
Evaluating Results of Learning Blaž Zupan
Computational Intelligence: Methods and Applications Lecture 16 Model evaluation and ROC Włodzisław Duch Dept. of Informatics, UMK Google: W Duch.
Model Evaluation l Metrics for Performance Evaluation –How to evaluate the performance of a model? l Methods for Performance Evaluation –How to obtain.
Evaluating Predictive Models Niels Peek Department of Medical Informatics Academic Medical Center University of Amsterdam.
Covariance matrices for all of the classes are identical, But covariance matrices are arbitrary.
Data Mining Practical Machine Learning Tools and Techniques By I. H. Witten, E. Frank and M. A. Hall Chapter 5: Credibility: Evaluating What’s Been Learned.
Machine Learning Tutorial-2. Recall, Precision, F-measure, Accuracy Ch. 5.
Classification Evaluation. Estimating Future Accuracy Given available data, how can we reliably predict accuracy on future, unseen data? Three basic approaches.
GENDER AND AGE RECOGNITION FOR VIDEO ANALYTICS SOLUTION PRESENTED BY: SUBHASH REDDY JOLAPURAM.
1 Performance Measures for Machine Learning. 2 Performance Measures Accuracy Weighted (Cost-Sensitive) Accuracy Lift Precision/Recall –F –Break Even Point.
Evaluating Classification Performance
Quiz 1 review. Evaluating Classifiers Reading: T. Fawcett paper, link on class website, Sections 1-4 Optional reading: Davis and Goadrich paper, link.
Professor William H. Press, Department of Computer Science, the University of Texas at Austin1 Opinionated in Statistics by Bill Press Lessons #50 Binary.
Chapter 5: Credibility. Introduction Performance on the training set is not a good indicator of performance on an independent set. We need to predict.
Objective Evaluation of Intelligent Medical Systems using a Bayesian Approach to Analysis of ROC Curves Julian Tilbury Peter Van Eetvelt John Curnow Emmanuel.
Evaluation of Diagnostic Tests & ROC Curve Analysis PhD Özgür Tosun.
ROC curve estimation. Index Introduction to ROC ROC curve Area under ROC curve Visualization using ROC curve.
Chapter 5: Credibility. Introduction Performance on the training set is not a good indicator of performance on an independent set. We need to predict.
Classification Cheng Lei Department of Electrical and Computer Engineering University of Victoria April 24, 2015.
Timothy Wiemken, PhD MPH Assistant Professor Division of Infectious Diseases Diagnostic Tests.
Evaluating Classifiers. Reading for this topic: T. Fawcett, An introduction to ROC analysis, Sections 1-4, 7 (linked from class website)
7. Performance Measurement
Evaluating Results of Learning
Data Mining Classification: Alternative Techniques
LECTURE 05: THRESHOLD DECODING
Model Evaluation and Selection
Computational Intelligence: Methods and Applications
Roc curves By Vittoria Cozza, matr
More on Maxent Env. Variable importance:
ROC Curves and Operating Points
Presentation transcript:

Evaluation of segmentation

Example

Reference standard & segmentation

Segmentation performance Qualitative/subjective evaluation  the easy way out, sometimes the only option Quantitative evaluation preferable in general A wild variety of performance measures exists Many measures are applicable outside the segmentation domain as well Focus here is on two class problems

Some terms Ground truth = the real thing Gold standard = the best we can get Bronze standard = gold standard with limitations Reference standard = preferred term for gold standard in the medical community

What to evaluate? Without reference standard, subjective or qualitative evaluation is hard to avoid Region/pixel based comparisons Border/surface comparisons (a selection of) Points Global performance measures versus local measures

Example

Reference standard & segmentation

What region to evaluate over?

Combination of reference and result masked true positive true negative false negative false positive

False positives

False negatives

Confusion matrix (Contingency table) Segmentation Reference negativepositive negative TN 3813 FP positive9764 FN TP

Do not get confused! False positives are actually negative False negatives are actually positives

Confusion matrix (Contingency table) Segmentation Reference negativepositive negative.852 TN.017 FP positive.044 FN.088 TP

Accuracy, sensitivity, specificity sensitivity = true positive fraction = 1 – false negative fraction = TP / (TP + FN) specificity = true negative fraction = 1 – false positive fraction = TN / (TN + FP) accuracy = (TP + TN) / (TP + TN + FP + FN)

Accuracy Range: from 0 to 1 Useful measure, but: Depends on prior probability (prevalence); in other words: on amount of background Even ‘stupid’ methods can achieve high accuracy (e.g. ‘all background’, or ‘most likely class’ systems)

Sensitivity & specificity Are intertwined ‘stupid’ methods can achieve arbitrarily large sensitivity/specificity at the expense of low specificity/sensitivity Do not depend on prior probability Are useful when false positives and false negatives have different consequences

NPNNNNNPPPPP PP N N true positives (TP) false positives (FP) false negatives (FN) true negatives (TN) sensitivity = true positive fraction = 1 – false negative fraction = TP / (TP + FN) specificity = true negative fraction = 1 – false positive fraction = TN / (TN + FP) accuracy = (TP+TN) / (TP+TN+FP+FN)

NPNNNNNPPPPP PP N N true positives (TP) = 3 false positives (FP) = 3 false negatives (FN) = 2 true negatives (TN) = 4 sensitivity = TP / (TP + FN) = 3 / 5 = 0.6 specificity = TN / (TN + FP) = 4 / 7 = 0.57 accuracy = (TP+TN) / (TP+TN+FP+FN) = 7 / 12 = 0.58

NPNNNNNPPPPPP P N N = 3 = 2 = 4 sensitivity = 3 / 5 = 0.6 specificity = 4 / 7 = 0.57 accuracy = 7 / 12 = 0.58 algorithm 1 NPNPPNPPPPPP P P N N = 4 = 5 = 1 = 2 sensitivity = 4 / 5 = 0.8 specificity = 2 / 7 = 0.29 accuracy = 6 / 12 = 0.5 algorithm 2 Which system is better?

Back to the retinal image… result reference negativepositive negative.852 TN.017 FP positive.044 FN.088 TP Accuracy: Sensitivity: Specifity:

Overlap = intersection / union = TP/(TP+FP+FN) TP FN FP TN Reference Segmentation

Overlap Overlap ranges from 0 (no overlap) to 1 (complete overlap) The background (TN) is disregarded in the overlap measure Small objects with irregular borders have lower overlap values than big compact objects

Kappa Accuracy would not be zero if we used a system that is ‘guessing’ A ‘guessing’ system should get a ‘zero’ mark (remember multiple choice exams…) Kappa is an attempt to measure ‘accuracy in excess of accuracy expected by chance’

Kappa Result Reference negativepositive negative positive System positive rate: 23461/ =.105 Total number of positives True positives of a guessing system:.105 * = 3075 … etc Accuracy guessing system:.792 System accuracy: ( )/ =.939

Kappa accguess = the accuracy of a randomly guessing system with a given positive (or negative) rate kappa = (acc – accguess) / (1 – accguess) In our case: kappa = ( )/( ) =.707

Kappa Maximum value is 1, can be negative A ‘guessing’ system has kappa = 0 ‘Stupid systems’ (‘all background’ or ‘most likely class’) have kappa = 0 Systems with negative kappa have ‘worse than chance’ performance

Positive/negative predictive value PPV and NPV depend on prevalence, contrary to sensitivity and specificity

ROC analysis

Evaluating algorithms Most algorithms can produce a continuous instead of a discrete output, monotonically related to the probability that a case is positive. Using a variable threshold on such a continuous output, a user can choose the (sensitivity, specificity) of the system. This is formalized in an ROC (receiver operator characteristic) analysis.

Reference standard & segmentation

Reference standard & soft segmentation

ROC analysis P n (x) P p (x) x true positive fraction true negative fraction false positive fraction

ROC curve true positive fraction sensitivity detection rate false positive fraction 1 - specificity chance of false alarm

ROC curves Receiver Operating Characteristic curve Originally proposed in radar detection theory Formalizes the trade-off between sensitivity and specificity Makes the discriminability and decision bias explicit Each hard classification is one operating point on the ROC curve

ROC curves A single measure for the performance of a system is the area under the ROC curve Az A system that randomly generates a label with probability p has an ROC curve that is a straight line from (0,0) to (1,1), Az = 0.5 A perfect system has Az = 1 Az does not depend on prior probabilities (prevalence)

ROC curves If one assumes P n (x) and P p (x) are Gaussian, two parameters determine the curve: the difference between the means and the ratio of the standards deviations. They can be estimated with a maximum-likelihood procedure. There are procedures to obtain confidence intervals for ROC curves and to test if the Az value of two curves are significantly different.

Intuitive meaning for Az Is there an intuitive meaning for Az? Consider the two-alternative forced-choice experiment: an observer is confronted with one positive and one negative case, both randomly chosen. The observer must select the positive case. What is the chance that the observer does this correctly?

P n (x) P p (x) x true positive fraction width false positive fraction column

Az as a segmentation performance measure Ranges from 0.5 to 1 Soft labeling is required (not easy for humans in segmentation) Independent of system threshold (operating point) and prevalence (priors) Depends on ‘amount of background’ though!

Summary Various pixel-based measures were considered for two class, hard (binary) classification results: –Accuracy –Sensitivity, specificity –Overlap –Kappa ROC