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

QueryinsrtanceBMDR #28

Open
wxl112 opened this issue Aug 1, 2020 · 4 comments
Open

QueryinsrtanceBMDR #28

wxl112 opened this issue Aug 1, 2020 · 4 comments

Comments

@wxl112
Copy link

wxl112 commented Aug 1, 2020

after I adopted the query strategy QueryinstanceBMDR,the problem raised that(ImportError: This method need cvxpy to solve the QP problem.Please refer to https://www.cvxpy.org/install/index.html install cvxpy manually before using.)
so I tried to pip the cvxpy on my computer,then it still raised the error as I mentioned above?
so would you mind I bother you taking a short time to help me fix it up?

@tangypnuaa
Copy link
Collaborator

Hi, this error will be raised when cvxpy can not be imported properly (see the source code). You can check if 'import cvxpy' is ok in your current python environment to verify the installation.

@wxl112
Copy link
Author

wxl112 commented Aug 3, 2020

wow!thank you for your reply,I got some questions!first the default model is LR, can I replace the model by any chance?

@tangypnuaa
Copy link
Collaborator

Actually, the implementation depicted in the paper specifies the model as LR with square loss. The optimization solution also depends on LR.

@wxl112
Copy link
Author

wxl112 commented Aug 3, 2020

gotcha!wow that's so nice of you!I owe you a big one.thank you for elaborating on these tiny details!

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

2 participants