Code Monkey home page Code Monkey logo

trlda's People

Contributors

lucastheis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

noa vishalbelsare

trlda's Issues

where is the file 'data_train.dat'

ubgpu@ubgpu:/github/trlda$ python example.py
Traceback (most recent call last):
File "example.py", line 14, in
for documents in load_documents('data_train.dat', 200):
File "/usr/local/lib/python2.7/dist-packages/trlda/utils/load_documents.py", line 38, in document_generator
with open(filepath) as handle:
IOError: [Errno 2] No such file or directory: 'data_train.dat'
ubgpu@ubgpu:
/github/trlda$

installation error in Windows 10

I'm using Python 2.7 on Windows 10.

The installation reported this error:
Unable to find vcvarsall.bat

Any help will be greatly appreciated.

Richard

nosetests code/trlda failure

Hi Lucas, I successfully built and installed trlda with Python 2.7.13 and Numpy 1.12.1 (Python 2.7.13 :: Anaconda 4.4.0 (64-bit) on Ubuntu 16.04 LTS). But when I try to run nosetests code/trlda, it comes two errors. Any idea why this is happening.

EE
======================================================================
ERROR: Failure: ImportError (/home/zen/anaconda2/lib/python2.7/site-packages/_trlda.so: undefined symbol: _ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/zen/anaconda2/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/zen/anaconda2/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/zen/anaconda2/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/media/zen/C4143FC6143FB9EE/Users/jason/Desktop/LDA-code/trlda-master/code/trlda/python/models/__init__.py", line 1, in <module>
    from _trlda import Distribution
ImportError: /home/zen/anaconda2/lib/python2.7/site-packages/_trlda.so: undefined symbol: _ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE

======================================================================
ERROR: Failure: ImportError (/home/zen/anaconda2/lib/python2.7/site-packages/_trlda.so: undefined symbol: _ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/zen/anaconda2/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/zen/anaconda2/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/zen/anaconda2/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/media/zen/C4143FC6143FB9EE/Users/jason/Desktop/LDA-code/trlda-master/code/trlda/python/utils/__init__.py", line 10, in <module>
    from _trlda import random_select
ImportError: /home/zen/anaconda2/lib/python2.7/site-packages/_trlda.so: undefined symbol: _ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE

----------------------------------------------------------------------
Ran 2 tests in 0.200s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.