xxxxxxxxxx
import tensorflow as tf
from tensorflow import keras
model = keras.Sequential([
keras.layers.Dense(20, input_shape=(20,), activation='relu'),
keras.layers.Dense(1, activation='sigmoid')
])
model.compile(optimizer='adam',
loss='binary_crossentropy',
metrics=['accuracy'])
model.fit(X_train, y_train, epochs=10)