diff --git a/model.py b/model.py index d8bad31..d761a2d 100644 --- a/model.py +++ b/model.py @@ -36,7 +36,8 @@ pipeline = Pipeline(steps=[ pipeline['model'].compile(optimizer='adam', loss='mse', metrics=['mae']) X_train_excluded = X_train.iloc[:, 1:] +y_train_excluded = y_train.iloc[:, 1:] -pipeline.fit(X_train_excluded, y_train, model__epochs=10, model__validation_split=0.1) +pipeline.fit(X_train_excluded, y_train_excluded, model__epochs=10, model__validation_split=0.1) pipeline['model'].save('powerlifting_model.h5')