This pull request remove the dependency on sklearn when loading datasets or emulators. Turns out the Emulator class only needs sklearn for sklearn.metrics.r2_score. As sklearn is a pretty heavy dependency (26 mb download alone), I opted for just copy pasting (retaining copyright notices) the required code and to load it when sklearn can't be found.
This pull request remove the dependency on sklearn when loading datasets or emulators. Turns out the Emulator class only needs sklearn for
sklearn.metrics.r2_score
. As sklearn is a pretty heavy dependency (26 mb download alone), I opted for just copy pasting (retaining copyright notices) the required code and to load it when sklearn can't be found.Please advise if there is any issues.