ALiPy icon indicating copy to clipboard operation
ALiPy copied to clipboard

QueryinsrtanceBMDR

Open wxl112 opened this issue 5 years ago • 4 comments

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?

wxl112 avatar Aug 01 '20 13:08 wxl112

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.

tangypnuaa avatar Aug 03 '20 01:08 tangypnuaa

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

wxl112 avatar Aug 03 '20 02:08 wxl112

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

tangypnuaa avatar Aug 03 '20 02:08 tangypnuaa

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

wxl112 avatar Aug 03 '20 03:08 wxl112