Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EdwardRaff/JSAT
/ getScore
Method
getScore
JSAT/src/jsat/classifiers/linear/SCW.java:440–444 ·
view source on GitHub ↗
(DataPoint dp)
Source
from the content-addressed store, hash-verified
438
}
439
440
@Override
441
public
double getScore(DataPoint dp)
442
{
443
return
w.dot(dp.getNumericalValues());
444
}
445
446
@Override
447
public
boolean supportsWeightedData()
Callers
1
classify
Method · 0.95
Calls
2
getNumericalValues
Method · 0.80
dot
Method · 0.45
Tested by
no test coverage detected