changed script

This commit is contained in:
Szymon Bartanowicz 2024-05-14 22:55:10 +02:00
parent 1e044d743f
commit 99173104ae

View File

@ -35,6 +35,6 @@ pipeline = Pipeline(steps=[
pipeline['model'].compile(optimizer='adam', loss='mse', metrics=['mae'])
pipeline.fit(X_train.iloc[:, 1:], y_train, model__epochs=int(sys.argv[1]), model__validation_split=0.1)
pipeline.fit(X_train.iloc[:, 1:], y_train.iloc[:, 1:], model__epochs=int(sys.argv[1]), model__validation_split=0.1)
pipeline['model'].save('powerlifting_model.h5')