I have read a lot of information about several notions, like batch_size, epochs, iterations, but because of explanation was without numerical examples and I am not native speaker, I have some kind of problem of understanding still about those terms, so I decided to work with data. Let us suppose we have the following data
Of course, it is just subset of original data, and I want to build a neural network with three hidden layers, the first layer contains 500 nodes, it takes input three variable and on each node, there is sigmoid activation function, next layer contains 100 node and sigmoid activation, the third one contains 50 node and sigmoid again, and finally we have one output with sigmoid to convert the result into 0 or 1 that classify whether a person with those attributes is female or male.
I trained the model using Keras Tensorflow with the following code
model.fit(X_train,y_train,epochs=30)
With this data, what does mean epochs=30
? Does it mean that all 177 rows (with 3 input at times) will go to the model 30 times? What about batch_size=None
in model.fit parameters?