4. Create the network graph

After defining all our hyperparameters we can now create our network

4.1. Placeholders for the inputs (data) and corresponding labels (targets)

Placeholder is an object whose value can be specified only later. To specify values for a placeholder, we need to pass in values by using a "feed dictionary"

In [9]:
dimension_of_features = X_train.shape[1]
dimension_of_classes = y_train.shape[1]

print("Dimension of our features : {}".format(dimension_of_features))
print("Dimension of our class : {}".format(dimension_of_classes))
Dimension of our features : 2
Dimension of our class : 1