Category Archives: Keras
How to get the output of Intermediate Layers in Keras?
We can actually go and visualize each of those 26×26 elements slices of the feature map as a grayscale image and this gives us some sense for what types of things in the input is those features in that convolutional layer looking for.
K-fold cross-validation with Keras and Sklearn
K-Fold cross-validation has a single parameter called k that refers to the number of groups that a given dataset is to be split(fold). First Split the dataset into k groups then take the group as a test data set and the remaining groups as a training data set. In this tutorial, we create a simple classification keras model and train and evaluate using K-fold cross-validation. Download Dataset This guide uses Iris Dataset to categorize flowers by species. This is a popular dataset for a beginner in machine learning classification problems. Download […]