2 votes
Accepted

activation=tf.keras.activations.relu vs activation='relu'

Your results were probably result of the randomness in the training. Both activation=tf.keras.activations.relu and ...
noe's user avatar
  • 23.8k
2 votes
Accepted

Confusion with tensorflow's Sequential Dense Layers

Keras expects the inputs $X$ to be batched, i.e., of shape $B\times D$ in your case (for a feed-forward NN), where $B$ is the batch size (by default is 32, which can be assigned in ...
Luca Anzalone's user avatar
2 votes

What may cause the CNN layer weight regularizer to reduce the model accuracy

In general, I stumbled across voices in literature that we shouldn't use dropout with such a big parameter for shallow networks, as it can violate their capabilities. Example: Piotrowski, A. P., ...
Tomasz Witkowski's user avatar
1 vote
Accepted

How do I best approach a multiple-target binary classification in Tensorflow/Keras?

The term you would use for that is "multilabel classification". It is certainly possible to do so in Tensorflow, although I would say it is more frequent to see it in examples of image ...
noe's user avatar
  • 23.8k

Only top scored, non community-wiki answers of a minimum length are eligible