This module is currently in beta release. The module and/or documentation may be incomplete.
Visualizes prediction results in JavaScript
Author: Thorin Tabor (UC San Diego, Broad Institute)
Algorithm Version:
Summary:
The PredictionResultsViewer is used to view results from testing a predictor where the results can come from either a separate test set (e.g. the KNN or WeightedVoting algorithm) or a cross-validation prediction (e.g., the KNNXValidation or WeightedVotingXValidation algorithms). The prediction results and the model used to obtain them are summarized in the top portion of the panel. Details of the prediction results for each of the samples are shown in the table at the bottom of this panel.
The first column in the table gives the sample name (datapoint). The second column gives the true class from the class template file and the third column gives the predicted class. The fourth column gives the Confidence associated with the predicted class (see algorithm documentation for a description of its calculation.) The fifth column indicates when the prediction is an error or no call is made.
The confidence threshold for making a call and potential errors can be adjusted by entering a number into the No Call Threshold box and pressing the Update button. The confusion matrix displays a table that summarizes the predicted classes against the true classes.
The viewer includes an interactive plot of the confidence in the prediction results. Mousing over a point in the plot displays the sample name and confidence value, as well as the color associated with its predicted class. Users can zoom in and out of the plot by clicking and dragging the mouse. The scale of the plot can be reset to its original value by double-clicking in the plot.
References
[appropriate papers cited]
Known Issues/Coming Features:
Key* | Summary |
GPAT-2232 | Known Issue: Downloaded PNG plot is truncated |
GPAT-2230 | New Feature: Display link to dataset in use |
GPAT-2231 | New Feature: Allow for naming of downloaded png file & more formats |
GPAT-2316 | Known Issue: Download PNG doesn't work in Edge or Safari |
GPAT-2317 | Known issue: Zooming on the table causes the data summary table to truncate |
GPAT-2241 | New Feature: Allow download of confusion matrix |
GPAT-2242 | New Feature Saving of table elements |
*for internal use
Parameters
Name | Description |
---|---|
prediction results file * | Prediction results - .odf |
* - required
Input Files
- Prediction Results File
Prediction results file in .odf format.
Example Data
Requirements
JavaScript
Platform Dependencies
Task Type:
javascript
CPU Type:
any
Operating System:
any
Language:
JavaScript
Version Comments
Version | Release Date | Description |
---|---|---|
4.10 | 2017-10-06 | JavaScript implementation of PredictionResultsViewer - with fix for bug in class labels |
4 | 2007-09-14 | Fixes bug in plot. |
3 | 2006-05-18 | Fixes display when results contain more than 2 classes |
2 | 2005-06-08 | Added labels to confusion matrix & annotated for GP 1.4 |