Now we have prepared our data for image classifier.
The next step is model creation.
There are two ways to create and create newer model indicators.
The first one is the sequential model Apia and the second one is the functional API
sequential API is straightforward and simple whereas functional API is little bit complex but it will
give you the flexibility to create some complex neural networks sequential EPA is useful to create layer
by layer models such as these where all the outputs of previous layer are connected as inputs of the
next layer and so on.
So for the simple neural networks like this sequential API is recommended
but for some advanced complex structure such as this here we are using input as an input for concrete
layer as well.
So this layer have two inputs one all our primary input parameters and the outputs of hidden layer as
well so anywhere.
If you want complex structure like this or you want to only use some part of your input in one hidden
layer and other part of input in some other hidden layer for all such variations you can use functional
API but for a straight forward dense neural networks like this you can use sequential API in this course.
First we will use the sequential API then we will also look at this example of functional labia.