MCPcopy Create free account
hub / github.com/cjlin1/liblinear / evaluations

Function evaluations

python/liblinear/commonutil.py:106–137  ·  view source on GitHub ↗

evaluations(ty, pv, useScipy) -> (ACC, MSE, SCC) ty, pv: list, tuple or ndarray useScipy: convert ty, pv to ndarray, and use scipy functions for the evaluation Calculate accuracy, mean squared error and squared correlation coefficient using the true values (ty) and predicted va

(ty, pv, useScipy = True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

trainFunction · 0.85
predictFunction · 0.85

Calls 1

evaluations_scipyFunction · 0.85

Tested by

no test coverage detected