Git Product home page Git Product logo

cfrbm's People

Contributors

felipecruz 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cfrbm's Issues

ValueError: No JSON object could be decoded

I got this error when running your code in Anaconda2 prompt.
Is there any way to fix this.
My System: Window 10, Anaconda 2, python 2.7.

Thanks for your time,

C:\CFRBM-master>make run
THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python cfrbm/user_based.py ubased.json
Using gpu device 0: GeForce GTX 960 (CNMeM is disabled, cuDNN 5005)
Traceback (most recent call last):
  File "cfrbm/user_based.py", line 168, in <module>
    experiments = read_experiment(sys.argv[0])
  File "C:\CFRBM-master\cfrbm\experiments.py", line 7, in read_experiment
    experiments = json.loads(data.read())['experiments']
  File "C:\Users\user4\Anaconda2\lib\json\__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "C:\Users\user4\Anaconda2\lib\json\decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\user4\Anaconda2\lib\json\decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
makefile:2: recipe for target 'run' failed
make: *** [run] Error 1

How to keep the visible unit with missing value always off?

There are a lot of missing values in my data. I understand that in the training phase, we need to turn those units always off including the reconstruction phase. Apparently only setting them as zeros in the training data is not enough. How can I do this in theano?

How to get the predictions?

My current status :

  1. I am able to run the code - user_based.py
  2. I can see the results of the Iterations printing
  3. I can see RMSE is decreasing in every Iterations

My Problem :

  1. After execution, what exactly is my output?
  2. How can I actually predict ratings for User

Please note that, I am new to RBM & Collaborative filtering...will be very helpful if you guide me with the above questions...If I may seem lost in that case will be helpful If you point out my misundrstandings

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.