MCPcopy Create free account
hub / github.com/SubmissionsIn/DEMVC / acc

Function acc

Nmetrics.py:9–28  ·  view source on GitHub ↗

Calculate clustering accuracy. Require scikit-learn installed # Arguments y: true labels, numpy.array with shape `(n_samples,)` y_pred: predicted labels, numpy.array with shape `(n_samples,)` # Return accuracy, in [0,1]

(y_true, y_pred)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected