Julian (aqora)

Julian (aqora)

Software Engineer

Paris, France

Joined January 22, 2024

Julian (aqora)

2

Posted by julian 27 days ago

Hi Peter! I unfortunately don't know too much about D-Wave since I personally have never worked with it in the past. Have you reached out to Laia? I know she uses it quite a bit. I also know that Ingenii has a pretty active community you can reach out to as well https://www.ingenii.io/community
Julian (aqora)

1

Posted by julian 42 days ago

Hi Peter! Me again! So I reached out to the competition organization and this is what they said:
His solution is totally right, that is a typo! I realized that the d = 0.0976 value would be considering only the first covariate w1, not the three of them.
Considering the three of them we have:
The solution arrays for this toy problem is the following:
  • group1 = [1, 0, 0, 1, 0, 1]
  • group2 = [0, 1, 1, 0, 1, 0]
The discrepancy value for this solution is d = 1.485
So I've gone ahead and updated the docs with this information. Sorry for the confusion! and I hope that helps answer your question.
Julian (aqora)

1

Posted by julian 43 days ago

Hi Peter! Yeah, you're totally right. Let me check with host, to see how the inconsistency came about
Julian (aqora)

2

Posted by julian 44 days ago

Hi Peter! So we take the data from here https://aqora.io/competitions/ingenii-clinical-trial/code/data/blob/pbc.csv and randomly select 100 people from the trial, but we then normalize the covariates using the following
(w - np.mean(w, axis=0)) / np.std(w, axis=0)
I hope that answers your question
Julian (aqora)

2

Posted by julian 44 days ago

Yup! Absolutely! I fixed it. Thank you 🤗
Julian (aqora)

1

Posted by julian 44 days ago (edited)

Hi again Peter! So the goal is to minimize the discrepancy function. We calculate the score as 1 - discrepancy and then take the average over trials.
You can debug your code with the following
print("group1:", group1, sep="\n")
print("group2:", group2, sep="\n")
discrepancy = trial.discrepancy(group1, group2)
print("discrepancy:", discrepancy)
print("score:", 1 - discrepancy)
and run in the terminal
aqora test --max-concurrency 1
Let me know if that helps any or if you have other questions!
Julian (aqora)

1

Posted by julian 45 days ago

I re-ran the evaluator on your project, and I'll take a look now to see if I can give you an explanation to why the score is negative
Julian (aqora)

1

Posted by julian 45 days ago

Hi Peter! Sorry for the confusion! I'm looking into it now. We had some problems with our evaluator the last couple of hours
Julian (aqora)

Posted by julian 165 days ago

Hi Grégory! Sorry for the late reply 🙈 I've updated the docs according to your suggestion, but I wasn't able to reproduce the error you were having. Did you install via pip or pipx? Also you can try to upgrade to the latest CLI version and run aqora clean, aqora install and aqora test again