Skip to content

Commit

Permalink
Add AppVeyor for all builds (#1565)
Browse files Browse the repository at this point in the history
* init run

* rm dup

* remove buggy test
  • Loading branch information
menshikh-iv committed Sep 5, 2017
1 parent 32e0257 commit 13578d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ install:
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""

# Install the build and runtime dependencies of the project.
# Install the build and runtime dependencies of the project.
- "%CMD_IN_ENV% pip install --timeout=60 --trusted-host 28daf2247a33ed269873-7b1aad3fab3cc330e1fd9d109892382a.r6.cf2.rackcdn.com -r continuous_integration/appveyor/requirements.txt"
- "%CMD_IN_ENV% python setup.py bdist_wheel bdist_wininst"
- ps: "ls dist"
Expand Down
9 changes: 0 additions & 9 deletions gensim/test/test_sklearn_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,15 +865,6 @@ def testTransform(self):
self.assertTrue(numpy.allclose(transformed_docs[0], expected_docs[0], atol=1e-2))
self.assertTrue(numpy.allclose(transformed_docs[1], expected_docs[1], atol=1e-2))

def testPartialFit(self):
for i in range(5):
self.model.partial_fit(X=self.corpus) # fit against the model again

transformed = self.model.transform(list(self.corpus)[0])
expected = numpy.array([0.77901173, 0.0232508, 0.02054655, 0.01769651, 0.01600487, 0.01478038, 0.01237056, 0.01194372, 0.01070444])
passed = numpy.allclose(transformed[0], expected, atol=1e-2)
self.assertTrue(passed)

def testSetGetParams(self):
# updating only one param
self.model.set_params(var_converge=0.05)
Expand Down

0 comments on commit 13578d4

Please sign in to comment.