Giter Site home page Giter Site logo

mrec's People

Contributors

gamboviol avatar hamukazu avatar ogrisel avatar themasterchef 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  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

mrec's Issues

install error

when i install mrec with git, there is an error i cant deal with:
ImportError: cannot import name 'izip' from 'itertools' (unknown location)

Citations format in Bibliography - removing et al.

I need to edit my own citation style so that it does not put et al. in the bibliography but cite all author names. Using the CSL editor, it seems simple to change the et al usage in-text but not in the bibliography, where my citations with over 5 Authors get et al. after the first name.

About scripts

Hello,

I'm using mrec now, however, I can't find where mrec_prepare, mrec_train and mrec_predict scripts are. May I ask you where they are? And how do I use them?

thx!

Sincerely yours,
David

`mrec_train` error: `AttributeError: 'list' object has no attribute 'get'`

When I executed mrec_train -n4 --input_format tsv --train "splits/u.data.train.*" --outdir models in here, the error appeared.

$ mrec_train -n4 --input_format tsv --train "splits/u.data.train.*" --outdir models
/Users/nzw/.pyenv/versions/miniconda2-latest/lib/python2.7/site-packages/ipython-4.0.0-py2.7.egg/IPython/parallel.py:13: ShimWarning: The `IPython.parallel` package has been deprecated. You should import from ipyparallel instead.
  "You should import from ipyparallel instead.", ShimWarning)
Traceback (most recent call last):
  File "/Users/nzw/.pyenv/versions/miniconda2-latest/bin/mrec_train", line 11, in <module>
    load_entry_point('mrec==0.3.1', 'console_scripts', 'mrec_train')()
  File "build/bdist.macosx-10.7-x86_64/egg/mrec/examples/train.py", line 22, in main
ImportError: cannot import name Client

To run correctly, I installed ipyparallel.

But, there is the other error:

$ mrec_train -n4 --input_format tsv --train "splits/u.data.train.*" --outdir models
...
File "/Users/nzw/.pyenv/versions/miniconda2-latest/bin/mrec_train", line 11, in <module>
    load_entry_point('mrec==0.3.1', 'console_scripts', 'mrec_train')()
File "build/bdist.macosx-10.7-x86_64/egg/mrec/examples/train.py", line 137, in main
File "build/bdist.macosx-10.7-x86_64/egg/mrec/parallel/item_similarity.py", line 39, in run
AttributeError: 'list' object has no attribute 'get'

I also tried to use only ipython. So, I installed some old ipythons (4.1.1 and 3.2.1) , but both failed.

missing C source code: mrec/mf/model/warp_fast.c

Hi,

when i try to build mrec, i got this issue: no such file or directory: 'mrec/mf/model/warp_fast.c'

creating build/temp.macosx-10.8-intel-2.7/mrec/mf/model
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c mrec/mf/model/warp_fast.c -o build/temp.macosx-10.8-intel-2.7/mrec/mf/model/warp_fast.o
clang: error: no such file or directory: 'mrec/mf/model/warp_fast.c'
clang: error: no input files
error: command 'clang' failed with exit status 1

Thanks.
jm

train joint model?

Hi all,

I'm trying to build the joint model using WARP as described in the documentation but the training always hangs...it never produces a model? Any ideas what could be the problem?

Thx in advance

ValueError: floating-point under-/overflow occurred.

Issuing:
mrec_train -n8 --train=filtered_p1_u40_t50.txt.train.matrix.idx --input_format=tsv --outdir p1u40t50

Yields:
[2014-06-02 13:44:20,204] INFO: 96556 users and 30924 items
[2014-06-02 13:44:20,658] INFO: running 8 tasks in parallel across ipython engines...
Traceback (most recent call last):
File "/usr/local/anaconda/bin/mrec_train", line 9, in
load_entry_point('mrec==0.3.1', 'console_scripts', 'mrec_train')()
File "build/bdist.linux-x86_64/egg/mrec/examples/train.py", line 136, in main
File "build/bdist.linux-x86_64/egg/mrec/parallel/item_similarity.py", line 39, in run
File "/usr/local/anaconda/lib/python2.7/site-packages/IPython/parallel/client/asyncresult.py", line 118, in get
raise self._exception
IPython.parallel.error.CompositeError: one or more exceptions from call to method: process
[3:apply]: ValueError: floating-point under-/overflow occurred.
[1:apply]: ValueError: floating-point under-/overflow occurred.
[0:apply]: ValueError: floating-point under-/overflow occurred.
[5:apply]: ValueError: floating-point under-/overflow occurred.

Usually this happens due to too large regularization learning rate, but there seems to be no option to change the learning rate for SLIM.

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.