Posts from machinelearningmastery

This page lists selected good posts from machinelearningmastery by Adrian Rosebrock.

We can do this by first encoding the strings consistently to integers using the scikit-learn class LabelEncoder. Then convert the vector of integers to a one hot encoding using the Keras function to_categorical().

  • Evaluate The Model with k-Fold Cross Validation

The scikit-learn has excellent capability to evaluate models using a suite of techniques. The gold standard for evaluating machine learning models is k-fold cross validation.