<div dir="ltr"><div>Thank you Adrin,</div><div><br></div><div>Your solution based on using Pandas DataFrames by leveraging the indexing that comes with them is pretty ingenious. Moreover, the whole StackOverflow page is quite interesting. I'll try also your suggestion.</div><div><br></div><div>Best,</div><div><br></div><div>Emanuele<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 2, 2021 at 11:26 AM Adrin <<a href="mailto:adrin.jalali@gmail.com">adrin.jalali@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Emanuele, <br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In the meantime, you could also try the hack I have written here: <a href="https://stackoverflow.com/questions/49581104/sklearn-gridsearchcv-not-using-sample-weight-in-score-function/49598597#49598597" target="_blank">https://stackoverflow.com/questions/49581104/sklearn-gridsearchcv-not-using-sample-weight-in-score-function/49598597#49598597</a></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Cheers,</div><div class="gmail_default" style="font-size:small">Adrin<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 22, 2021 at 7:54 PM Emanuele Olivetti <<a href="mailto:emanuele.olivetti@gmail.com" target="_blank">emanuele.olivetti@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Alex,<br></div><div><br></div><div>Thank you for the quick response. That SLEP looks very interesting! Indeed I had the impression that there was no easy way around the issue of automatically passing additional (meta)data to scorers. Irrespective of my issue, I hope the SLEP will get the green light soon.</div><div><br></div><div>Best,</div><div><br></div><div>Emanuele<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 22, 2021 at 10:27 AM Alexandre Gramfort <<a href="mailto:alexandre.gramfort@inria.fr" target="_blank">alexandre.gramfort@inria.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">hi Emanuelle,</div><div dir="ltr"><br></div><div>I would suggest you have a look at <a href="https://github.com/scikit-learn/enhancement_proposals/pull/55" target="_blank">https://github.com/scikit-learn/enhancement_proposals/pull/55</a></div><div><br></div><div>it's work in progress though</div><div><br></div><div>Alex</div><div><br></div></div>
_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
</blockquote></div>
_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
</blockquote></div>
_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
</blockquote></div>