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

Class feature_node

pattern/vector/svm/liblinear.py:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

predictFunction · 0.85
set_biasMethod · 0.85

Calls 1

genFieldsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…