try InputLayer
This commit is contained in:
parent
ff2edcf654
commit
b8961d4f66
@ -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.Input(shape=(12,)),
|
layers.InputLayer(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