AssertionErrorTraceback (most recent call last)
<ipython-input
-5-166b8f0141db>
in <module>()
---->
1 check_estimator(OK.Sqizer)
/Users/Sam/anaconda/lib/
python2.7/site-packages/sklearn/utils/estimator_checks.pyc in check_estimator(Estimator)
253 check_parameters_default_constructible(name, Estimator)
254 for check in _yield_all_checks(name, Estimator):
--> 255 check(name, Estimator)
256
257
/Users/Sam/anaconda/lib/python2.7/site-packages/sklearn/utils/testing.pyc in wrapper(*args, **kwargs)
353 with warnings.catch_warnings():
354 warnings.simplefilter("ignore", self.category)
--> 355 return fn(*args, **kwargs)
356
357 return wrapper
/Users/Sam/anaconda/lib/python2.7/site-packages/sklearn/utils/estimator_checks.pyc in check_transformer_general(name, Transformer)
578 X = StandardScaler().fit_transform(X)
579 X -= X.min()
--> 580 _check_transformer(name, Transformer, X, y)
581 _check_transformer(name, Transformer, X.tolist(), y.tolist())
582
/Users/Sam/anaconda/lib/python2.7/site-packages/sklearn/utils/estimator_checks.pyc in _check_transformer(name, Transformer, X, y)
671 if hasattr(X, 'T'):
672 # If it's not an array, it does not have a 'T' property
--> 673 assert_raises(ValueError, transformer.transform, X.T)
674
675
/Users/Sam/anaconda/lib/python2.7/unittest/case.pyc in assertRaises(self, excClass, callableObj, *args, **kwargs)
471 return context
472 with context:
--> 473 callableObj(*args, **kwargs)
474
475 def _getAssertEqualityFunc(self, first, second):
/Users/Sam/anaconda/lib/python2.7/unittest/case.pyc in __exit__(self, exc_type, exc_value, tb)
114 exc_name = str(self.expected)
115 raise self.failureException(
--> 116 "{0} not raised".format(exc_name))
117 if not issubclass(exc_type, self.expected):
118 # let unexpected exceptions pass through
AssertionError: ValueError not raised