try InputLayer
This commit is contained in:
parent
b8961d4f66
commit
7f8b876965
@ -17,7 +17,7 @@ Y_valid = X_valid.pop('stabf')
|
|||||||
Y_valid = pd.get_dummies(Y_valid)
|
Y_valid = pd.get_dummies(Y_valid)
|
||||||
|
|
||||||
model = tensorflow.keras.Sequential([
|
model = tensorflow.keras.Sequential([
|
||||||
layers.InputLayer(shape=(12,)),
|
layers.InputLayer(input_shape=(12,)),
|
||||||
layers.Dense(32),
|
layers.Dense(32),
|
||||||
layers.Dense(16),
|
layers.Dense(16),
|
||||||
layers.Dense(2, activation='softmax')
|
layers.Dense(2, activation='softmax')
|
||||||
|
Loading…
Reference in New Issue
Block a user