changed script
This commit is contained in:
parent
4da4b2deed
commit
13369ee6ba
2
model.py
2
model.py
@ -34,6 +34,6 @@ pipeline = Pipeline(steps=[
|
|||||||
|
|
||||||
pipeline['model'].compile(optimizer='adam', loss='mse', metrics=['mae'])
|
pipeline['model'].compile(optimizer='adam', loss='mse', metrics=['mae'])
|
||||||
|
|
||||||
pipeline.fit(X_train, y_train, model__epochs=10, model__validation_split=0.1)
|
pipeline.fit(X_train.iloc[:, 1:], y_train, model__epochs=10, model__validation_split=0.1)
|
||||||
|
|
||||||
pipeline['model'].save('powerlifting_model.h5')
|
pipeline['model'].save('powerlifting_model.h5')
|
||||||
|
Loading…
Reference in New Issue
Block a user