MCPcopy Index your code
hub / github.com/clips/pattern / svm_node

Class svm_node

pattern/vector/svm/libsvm.py:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 f.argtypes = argtypes
57
58class svm_node(Structure):
59 _names = ["index", "value"]
60 _types = [c_int, c_double]
61 _fields_ = genFields(_names, _types)
62
63 def __str__(self):
64 return '%d:%g' % (self.index, self.value)
65
66def gen_svm_nodearray(xi, feature_max=None, isKernel=None):
67 if isinstance(xi, dict):

Callers

nothing calls this directly

Calls 1

genFieldsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…