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

Method setUp

test/test_vector.py:826–830  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

824 model = None
825
826 def setUp(self):
827 # Test model for training classifiers.
828 if self.__class__.model is None:
829 self.__class__.model = model()
830 self.model = self.__class__.model
831
832 def _test_classifier(self, Classifier, **kwargs):
833 # Assert classifier training + prediction for trivial cases.

Callers

nothing calls this directly

Calls 1

modelFunction · 0.70

Tested by

no test coverage detected