Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antmachineintelligence/mtgbmcode
/ binary_error
Function
binary_error
tests/python_package_test/test_sklearn.py:60–61 ·
view source on GitHub ↗
(y_true, y_pred)
Source
from the content-addressed store, hash-verified
58
59
60
def
binary_error(y_true, y_pred):
61
return
np.mean((y_pred > 0.5) != y_true)
62
63
64
def
multi_error(y_true, y_pred):
Callers
1
test_binary_classification_with_custom_objective
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected