Code Monkey home page Code Monkey logo

recsys-course-2016-pub's People

Contributors

mquad 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

Watchers

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

recsys-course-2016-pub's Issues

Pickling Error MultithreadSLIM

Ciao, il multithreadSLIM mi da un errore quando viene chiamata la .fit :
PicklingError: Can't pickle <type 'instancemethod'>: attribute lookup __builtin__.instancemethod failed

Il codice che sto tentando di eseguire e' :

recommender = MultiThreadSLIM(l1_penalty=0.1,l2_penalty=0.01)

train_size = int(data.shape[0] * 0.8)
# split data according to the shuffled index and the holdout size
train_split = data[:train_size]
test_split = data[train_size:]

recommender.fit(train_split)

Dove data e' una matrice in formato csc.

Qualcuno sa la causa di questo errore?

Grazie :)

GCC error when executing install.sh on Linux

When executing install.sh I get the following error:

/home/s/software/miniconda3/envs/recsys-env/lib/python3.5/site-packages/Cython/Distutils/old_build_ext.py:30: UserWarning: Cython.Distutils.old_build_ext does not properly handle dependencies and is deprecated.
  "Cython.Distutils.old_build_ext does not properly handle dependencies "
running build_ext
building 'recpy.cython._similarity' extension
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DCYTHON_TRACE=1 -I/home/s/software/miniconda3/envs/recsys-env/lib/python3.5/site-packages/numpy/core/include -I/home/s/software/miniconda3/envs/recsys-env/include/python3.5m -c recpy/cython/_similarity.c -o build/temp.linux-x86_64-3.5/recpy/cython/_similarity.o
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/syslimits.h:7:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:34,
                 from /home/s/software/miniconda3/envs/recsys-env/include/python3.5m/Python.h:11,
                 from recpy/cython/_similarity.c:19:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:168:61: fatal error: limits.h: Aucun fichier ou dossier de ce type
 #include_next <limits.h>  /* recurse down to the real one */
                                                             ^
compilation terminated.
error: command 'gcc' failed with exit status 1
/home/s/software/miniconda3/envs/recsys-env/lib/python3.5/site-packages/Cython/Distutils/old_build_ext.py:30: UserWarning: Cython.Distutils.old_build_ext does not properly handle dependencies and is deprecated.
  "Cython.Distutils.old_build_ext does not properly handle dependencies "
running install
running bdist_egg
running egg_info
writing dependency_links to recpy.egg-info/dependency_links.txt
writing requirements to recpy.egg-info/requires.txt
writing top-level names to recpy.egg-info/top_level.txt
writing recpy.egg-info/PKG-INFO
reading manifest file 'recpy.egg-info/SOURCES.txt'
writing manifest file 'recpy.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'recpy.cython._similarity' extension
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DCYTHON_TRACE=1 -I/home/s/software/miniconda3/envs/recsys-env/lib/python3.5/site-packages/numpy/core/include -I/home/s/software/miniconda3/envs/recsys-env/include/python3.5m -c recpy/cython/_similarity.c -o build/temp.linux-x86_64-3.5/recpy/cython/_similarity.o
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/syslimits.h:7:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:34,
                 from /home/s/software/miniconda3/envs/recsys-env/include/python3.5m/Python.h:11,
                 from recpy/cython/_similarity.c:19:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:168:61: fatal error: limits.h: Aucun fichier ou dossier de ce type
 #include_next <limits.h>  /* recurse down to the real one */
                                                             ^
compilation terminated.
error: command 'gcc' failed with exit status 1

I am running Linux Mint 17.3 64-bit. gcc version 4.8.4

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.