- All Implemented Interfaces:
Generates points illustrating the prediction margin. The margin is defined as the difference between the probability predicted for the actual class and the highest probability predicted for the other classes. One hypothesis as to the good performance of boosting algorithms is that they increaes the margins on the training data and this gives better performance on test data.
- $Revision: 15751 $
- Len Trigg (email@example.com)
getCurveCalculates the cumulative margin distribution for the set of predictions, returning the result as a set of Instances. The structure of these Instances is as follows:
- Margin contains the margin value (which should be plotted as an x-coordinate)
- Current contains the count of instances with the current margin (plot as y axis)
- Cumulative contains the count of instances with margin less than or equal to the current margin (plot as y axis)
- datapoints as a set of instances, null if no predictions have been made.
getRevisionpublic String getRevision()Returns the revision string.