Category: scikit-learn

  • How to solve Scikit-learn Deprecation Warning on cross_validation

    When using the Scikit-learn library and trying out various examples found over the web, have you come across a DeprecationWarning for the cross_validation module? The DeprecationWarning on cross_validation This most commonly happens when the code you’re trying to run utilizes the train_test_split() function – a handy function used to quickly split the training and test…

  • Getting the LeNet model working with Face Recognition

    In my last post, I talked about how the LeNet Convolutional Neural Network model is capable of handling much more complex data than the intended MNIST dataset. We saw how it got ~99% accuracy when it learned to identify 10 faces from the raw pixel intensities. So, let’s see the code I used to get…