Closed rrose1 closed 9 years ago
See issue #86 for some useful vsm.spatial
tests.
Once unittests are done, we can finish travis-ci integration.
I've started revising these in the tests
branch.
tests_beaglecomposite
Traceback (most recent call last):
File "/home/jammurdo/workspace/vsm/unit_tests/tests_beaglecomposite.py", line 27, in setUp
self.m = BeagleComposite(self.cc, self.cm.matrix, self.ec, self.om.matrix)
File "/home/jammurdo/workspace/vsm/vsm/model/beaglecomposite.py", line 41, in __init__
self.ctx_matrix /= np.sqrt((ctx_matrix * ctx_matrix).sum(1)[:,np.newaxis])
AttributeError: 'BeagleComposite' object has no attribute 'ctx_matrix'
Previous tests for vsm.extensions.corpusbuilders.corpusbuilders.dir_tokenize
and coll_tokenize
both break on sentence
context_types. The issue here may be introduced by better parsing of blank lines.
LdaCgsViewer
is missing simmat_words
TfViewer
is missing simmat_words
LdaCgsViewer
should never have had a simmat_words
.
The old multiprocessing implementations appear to be throwing errors:
test_spatial.py
linalg.row_normalize
,linalg.row_cos_mat
, and linalg.hstack_coo
no longer exist .
I believe we finished migrating these.
Just checked and all seems good.
On Feb 2, 2015, at 12:00 PM, Jaimie Murdock notifications@github.com wrote:
I believe we finished migrating these.
— Reply to this email directly or view it on GitHub https://github.com/inpho/vsm/issues/88#issuecomment-72493437.
The unit tests were not updated along with recent code changes.