BUG: follow sklearn API change