Treten Sie der SIG TFX-Addons-Community bei und helfen Sie, TFX noch besser zu machen!

tfma.metrics.CoefficientOfDiscrimination

Coefficient of discrimination metric.

Inherits From: `Metric`

The coefficient of discrimination measures the differences between the average prediction for the positive examples and the average prediction for the negative examples.

The formula is: AVG(pred | label = 1) - AVG(pred | label = 0) More details can be found in the following paper: https://www.tandfonline.com/doi/abs/10.1198/tast.2009.08210

`name` Metric name.

`compute_confidence_interval` Whether to compute confidence intervals for this metric.

Note that this may not completely remove the computational overhead involved in computing a given metric. This is only respected by the jackknife confidence interval method.

Methods

`computations`

View source

Creates computations associated with metric.

`get_config`

View source

Returns serializable config.

[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Benötigte Informationen nicht gefunden" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Zu umständlich/zu viele Schritte" },{ "type": "thumb-down", "id": "outOfDate", "label":"Nicht mehr aktuell" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Sonstiges" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Leicht verständlich" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Mein Problem wurde gelöst" },{ "type": "thumb-up", "id": "otherUp", "label":"Sonstiges" }]