Giter Site home page Giter Site logo

Comments (1)

rherasm avatar rherasm commented on July 29, 2024

BTW, running the example provided with the testfm sourcecode (https://github.com/grafos-ml/test.fm/blob/master/src/testfm/examples/models_example.py), with the dataset data/movielenshead.dat

there are some errors as well, with some of the models,
but those errors seems are not related with the error above...

Additionally, could anybody confirm whats exactly the output values [0.2877098548938246] returned by the models, what that means? Where can I found this information?
Maybe is related with MSE, or EER, ...? Here there are not parameters as Precision or Recall, right?
Thanks !

----------- (python 2.7) test1:
sysadmin@myUbuntuhost:~/testfm/test.fm-1.0/src/fm$ python modeltest1.py
modeltest1.py:20: ParserWarning: Falling back to the 'python' engine because the 'c' engine does not support regex separators (separators > 1 char and different from '\s+' are interpreted as regex); you can avoid this warning by specifying engine='python'.

sep="::", header=None, names=["user", "item", "rating", "date", "title"])
user item rating date title
0 1 122 5.0 838985046 Boomerang (1992)
1 1 185 5.0 838983525 Net, The (1995)
2 1 231 5.0 838983392 Dumb & Dumber (1994)
3 1 292 5.0 838983421 Outbreak (1995)
4 1 316 5.0 838983392 Stargate (1994)

**0:00:00.142133 Random [0.2877098548938246]

0:00:19.330961 BPR (dim=10,iter=15,reg=0.0001,eta=0.001) [0.2886932217273792]**

/home/sysadmin/.local/lib/python2.7/site-packages/testfm-1.0-py2.7-linux-x86_64.egg/testfm/models/content_based.py:110: FutureWarning: iget(i) is deprecated. Please use .iloc[i] or .iat[i]
/home/sysadmin/.local/lib/python2.7/site-packages/testfm-1.0-py2.7-linux-x86_64.egg/testfm/models/content_based.py:155: RuntimeWarning: invalid value encountered in double_scalars
/home/sysadmin/.local/lib/python2.7/site-packages/testfm-1.0-py2.7-linux-x86_64.egg/testfm/models/content_based.py:155: RuntimeWarning: invalid value encountered in divide

0:00:01.142259 TF/IDF [0.22061728516487217]
0:00:00.004290 Popularity [0.5390989431901517]
Traceback (most recent call last):
File "modeltest1.py", line 40, in
m.fit(training)
File "src/testfm/models/cutil/interface.pyx", line 178, in testfm.models.cutil.interface.IFactorModel.fit (src/testfm/models/cutil/interface.c:3745)
File "src/testfm/models/cutil/interface.pyx", line 103, in testfm.models.cutil.interface.IModel.fit (src/testfm/models/cutil/interface.c:3037)
File "build/bdist.linux-x86_64/egg/testfm/models/tensorcofi.py", line 96, in train
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

from test.fm.

Related Issues (20)

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.