Hi, indeed the generic exception catching / reraising of the test
common stuff is not very helpful.

You can add a test in you own test suite to check where it breaks in your code:

import scipy.sparse as sp

X_train_csr = sp.csr_matrix(X_train)
X_test_csr = sp.csr_matrix(X_test)
model = MyModel().fit(X_train_csr, y_train)
model.score(X_test_csr, y_test)

-- 
Olivier

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to