Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/wepe/MachineLearning
/ predict
Method
predict
SVM/SVM_by_QP/SVCQP.py:98–99 ·
view source on GitHub ↗
(self, X)
Source
from the content-addressed store, hash-verified
96
return
y_predict + self.b
97
98
def
predict(self, X):
99
return
np.sign(self.project(X))
100
Callers
3
test_linear
Function · 0.95
test_non_linear
Function · 0.95
test_soft
Function · 0.95
Calls
1
project
Method · 0.95
Tested by
3
test_linear
Function · 0.76
test_non_linear
Function · 0.76
test_soft
Function · 0.76