upd 5
This commit is contained in:
parent
27860c181b
commit
e1110926d2
@ -26,7 +26,7 @@ X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_
|
||||
|
||||
# Create the neural network model
|
||||
model = Sequential()
|
||||
model.add(Embedding(input_dim=len(mlb.classes_), output_dim=10, input_length=X.shape[24402, 39]))
|
||||
model.add(Embedding(input_dim=len(mlb.classes_), output_dim=10, input_length=X.shape[1]))
|
||||
model.add(Flatten())
|
||||
model.add(Dense(32, activation='relu'))
|
||||
model.add(Dense(1))
|
||||
|
Loading…
Reference in New Issue
Block a user