Skip to content

Future issue with sklearn.cross_validation #326

@JamesOwers

Description

@JamesOwers

Hello,

I'm using a slightly more recent version of sklearn (0.18.1), than is specified in requirements (0.17), and receive a warning upon from nolearn.lasagne import NeuralNet. This is because the cross_validation module is going to be depreciated.

If you plan to support later versions of sklearn, it's worth updating references.

Full trace:

>>> from nolearn.lasagne import NeuralNet
/Users/kungfujam/anaconda/envs/mus/lib/python2.7/site-packages/sklearn/cross_validation.py:44:
DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection 
module into which all the refactored classes and functions are moved. Also note that the interface of
 the new CV iterators are different from that of this module. This module will be removed in 0.20.
  "This module will be removed in 0.20.", DeprecationWarning)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions