Yields the support vectors.
(self)
| 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 |