auto-sklearn icon indicating copy to clipboard operation
auto-sklearn copied to clipboard

Passing a mask on `y` won't work due to autosklearn resampling

Open bofei5675 opened this issue 5 years ago • 2 comments

I'm working on a project that needs me to pass a mask of label into the scorer. For example, if y is a vector (100,), then I will have a boolean mask with the same size.

After passing this mask, I found that the resampling strategy used hold-out set then this mask won't be able to match with the original vector size. I'm just wondering how can I fix this? Also, if someone can point out which part of code does the splitting, it would be definitely helpful.

Thanks!

bofei5675 avatar Nov 19 '19 02:11 bofei5675

Unfortunately, this feature is not implemented yet. Auto-sklearn uses scikit-learn code for splitting. Does scikit-learn allow this?

mfeurer avatar Jan 07 '20 15:01 mfeurer

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs for the next 7 days. Thank you for your contributions.

github-actions[bot] avatar May 05 '21 01:05 github-actions[bot]