fix
Some checks failed
s434695-training/pipeline/head There was a failure building this commit

This commit is contained in:
s434695 2021-05-17 12:32:14 +02:00
parent 07e0eb04eb
commit 9947cf587f

View File

@ -43,8 +43,10 @@ def prepare_model(epoch_param, batch_param, _run):
X_test = vgsales_test.drop(['Rank','Name','Platform','Year','Genre','Publisher'],axis = 1)
y_test = vgsales_test[['Nintendo']]
print(X_train.shape[1])
model = Sequential()
model.add(Dense(9, input_dim = X_train, kernel_initializer='normal', activation='relu'))
model.add(Dense(9, input_dim = X_train.shape[1], kernel_initializer='normal', activation='relu'))
model.add(Dense(1,kernel_initializer='normal', activation='sigmoid'))
early_stop = EarlyStopping(monitor="val_loss", mode="min", verbose=1, patience=10)