URI: http://www.qualityml.org/1.0/metrics/Purity
Name: Purity
Alternative names:  

The ratio between the number of items in the modal category and the total number of items.

Parameters: N/A
Source: GeoViQua
Categories: categorical variables, Thematic accuracy
Further information: In a classification of n classes, it can be used to decide if the modal class is representative enough; the modal class will be disregarded if it is below a threshold.
XML schema:
XML example:
JSON example:
API example:
Value constraints: categories: any string
counts: any positive natural number