8000 problem of running in jupyter notebook · Issue #18 · jfloff/pywFM · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
problem of running in jupyter notebook #18
Closed
@kkhuang1990

Description

@kkhuang1990

I followed the instructions as you wrote on the github and can successfully run the test codes.
however, I met the following error when running in my jupyter notebook


OSError Traceback (most recent call last)
in ()
16 target = [5, 3, 1, 4, 5, 1, 5]
17
---> 18 fm = pywFM.FM(task='regression', num_iter=5)
19
20 # split features and target for train/test

/usr/local/lib/python2.7/dist-packages/pywFM/init.pyc in init(self, task, num_iter, init_stdev, k0, k1, k2, learning_method, learn_rate, r0_regularization, r1_regularization, r2_regularization, rlog, verbose, seed, silent, temp_path)

OSError: LIBFM_PATH is not set. Please install libFM and set the path variable (https://github.com/jfloff/pywFM#installing).

actually I have already set the LIBFM_PATH in my ~/.bashrc file as this:
export LIBFM_PATH=$HOME/local/libfm/bin
I don't know why the jupyter notebook cannot find this path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0