Tag: keras

Visualize your own image fitler

First load necessary packages import pandas as pdimport numpy as npfrom keras.models import Sequentialfrom keras.layers import Dense, Dropout, Conv2Dimport keras.backend as Kimport scipy, imageioimport matplotlib.pyplot as pltfrom PIL import Image%matp…

Visualize activations functions using keras

In keras, we can visualize activation functions’ geometric properties using backend functions over layers of a model. We all know the exact function of popular activation functions such as ‘sigmoid’, ‘tanh’, ‘relu’, etc, and we can feed data to these f…