This is the introduction to deep learning
Let us start with a simple examples
# Numerical Computations
import numpy as np
# For Deep Learning
import keras
# Visualisation
import matplotlib.pyplot as plt
%matplotlib inline
$$ Z = 2X^2 - 3Y^2 + 5 + \epsilon $$
x = np.arange(start = -1, stop = 1, step = 0.01)
y = np.arange(start = -1, stop = 1, step = 0.01)
len(x), len(y)
X,Y = np.meshgrid(x,y)
c = np.ones((200, 200))
e = np.random.rand(200,200)*0.1
Z = 2*X*X - 3*Y*Y + 5*c + e
#!wget http://bit.do/dl-vis
#!mv dl-vis vis.py
#!pip install altair
import vis
vis.plot3d(X,Y,Z)
Step 1: Get the input and output data
input_xy = np.c_[X.reshape()]