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

Cannot pass factorization_size param to fmqa.FMBQM.from_data(xs, ys, factorization_size = 8) #7

Open
UnixJunkie opened this issue Nov 8, 2021 · 2 comments

Comments

@UnixJunkie
Copy link
Contributor

Bug?

@UnixJunkie
Copy link
Contributor Author

Traceback (most recent call last):
  File "./bin/fmqa_model.py", line 106, in <module>
    trained_model = train_regr(x_list, y_list)
  File "./bin/fmqa_model.py", line 60, in train_regr
    model = fmqa.FMBQM.from_data(xs, ys, factorization_size = 8)
  File "/home/berenger/.local/lib/python3.8/site-packages/fmqa-0.0.1-py3.8.egg/fmqa/fm_binary_quadratic_model.py", line 72, in from_data
  File "/home/berenger/.local/lib/python3.8/site-packages/fmqa-0.0.1-py3.8.egg/fmqa/fm_binary_quadratic_model.py", line 35, in __init__
TypeError: __init__() got an unexpected keyword argument 'factorization_size'

@UnixJunkie
Copy link
Contributor Author

it looks like an hyper parameter users should be allowed to optimize...

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

1 participant