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

Method support_vectors

pattern/vector/__init__.py:2246–2253  ·  view source on GitHub ↗

Yields the support vectors.

(self)

Source from the content-addressed store, hash-verified

2244
2245 @property
2246 def support_vectors(self):
2247 """ Yields the support vectors.
2248 """
2249 if self._model is None:
2250 self._train()
2251 if self.extension == LIBLINEAR:
2252 return []
2253 return self._model[0].get_SV()
2254
2255 sv = support_vectors
2256

Callers

nothing calls this directly

Calls 2

_trainMethod · 0.95
get_SVMethod · 0.80

Tested by

no test coverage detected