GithubHelp home page GithubHelp logo

nut's People

Contributors

pprett avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nut's Issues

indent error

Hi! There have some indent miss in the code file, when I download the entire project, like nut/bow.py L39:

    for fname in bowfnames:
        with open(fname) as f:
        for i, line in enumerate(f):
        if maxlines != -1 and i >= maxlines:
            break
        label, tokens = parse_bow(line)
        for token,freq in tokens:
            fd[token] += 1

other files have the same error:
bow.py: L63
pivotselection: L80, L102, L117, L136
util.py: L54, L71, L74

ImportError when Parallel Training

Hi! I have get the same result when training serially. However, I got ImportError when parallel training, the error as follow:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "D:\Python27\lib\multiprocessing\forking.py", line 380, in main
    prepare(preparation_data)
  File "D:\Python27\lib\multiprocessing\forking.py", line 489, in prepare
    file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named clscl_train

I download your code and execute the following scirpt without run setup.py

python clscl_train en de Z:/DataDeport/cls-acl10-processed/en/books/train.processed Z:/DataDeport/cls-acl10-processed/en/books/unlabeled.processed Z:/DataDeport/cls-acl10-processed/de/books/unlabeled.processed Z:/DataDeport/cls-acl10-processed/dict/en_de_dict.txt model.bz2 --phi 30 --max-unlabeled=50000 -k 100 -m 450 --strategy=parallel

Is it the reason that I got the ImportError ?

Data Download link for CLCSL need to be updated

Hi! Thanks the code of CLCSL! I found the data presented in the readme was not able to download, Could you update it? Thank you!

The data for cross-language sentiment classification that has been used in the above study can be found here [2].
...
[2] http://www.uni-weimar.de/medien/webis/research/corpora/webis-cls-10/cls-acl10-processed.tar.gz

the unprocessed data

Hi ! The data you provided is processed, do you have the original raw data? I want to use it for some comparison.

data for CLSCL seem to be damaged!

The corpora seem to be damaged, because I can only download 1MB of the archive(230MB). I can only find the "readme" in the archive. Could you check it again?

[2] http://www.webis.de/research/corpora/corpus-webis-cls-10/cls-acl10-processed.tar.gz

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.