I'm trying to make a model that can differentiate between lists of completely random values between 0 and 1 and similar lists but taking the square root of each value instead.
I'm using this model:
model = tf.keras.Sequential([
tf.keras.layers.Dense(100, activation='relu'),
tf.keras.layers.Dense(100, activation='relu'),
tf.keras.layers.Dense(1, activation='sigmoid')
])
The validation accuracy is always basically immediately 100% (as you can see in the graph), which I think makes sense because the data classes are pretty different. But when I try to evaluate the resulting model, the accuracy is always 50%, in fact it always predicts values very close to 0 (like 7.337504e-10).
I don't even get how this happens since I thought a high validation accuracy also means the actual accuracy should be high, especially in a clear case like this, where the data is just randomly generated anyway. Hope you can help me, I have no idea what to do now