Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run/use this code? #7

Closed
nickedes opened this issue Nov 1, 2017 · 2 comments
Closed

How to run/use this code? #7

nickedes opened this issue Nov 1, 2017 · 2 comments

Comments

@nickedes
Copy link

nickedes commented Nov 1, 2017

I did the following :

$ git clone  https://github.com/shiba24/learning2rank.git
$ python learning2rank/__init__.py
Traceback (most recent call last):
  File "learning2rank/__init__.py", line 1, in <module>
    import utils, rank, regression
  File "/mnt/E4481D43481D1640/Various/books/ML-Course/pw/learning2rank/rank/__init__.py", line 1, in <module>
    import ListNet, RankNet
ModuleNotFoundError: No module named 'ListNet'

Shows this error.

What should I do?

@alejandromorrison
Copy link

I have sure that if you want to initialize the repositor in excellence says in the README.md

that you'll only need to use
from learning2rank.rank import RankNet
Model = RankNet.RankNet()

@shiba24
Copy link
Owner

shiba24 commented Jan 7, 2018

Thank you @alejandromorrison ! :)

@shiba24 shiba24 closed this as completed Jan 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants