fix
This commit is contained in:
parent
c94695e20b
commit
da08a94eb5
4
model.py
4
model.py
@ -35,8 +35,8 @@ pipeline = Pipeline(steps=[
|
|||||||
|
|
||||||
pipeline['model'].compile(optimizer='adam', loss='mse', metrics=['mae'])
|
pipeline['model'].compile(optimizer='adam', loss='mse', metrics=['mae'])
|
||||||
|
|
||||||
X_train_excluded = X_train.iloc[:, 1:]
|
X_train_excluded = X_train.iloc[1:, :]
|
||||||
y_train_excluded = y_train.iloc[:, 1:]
|
y_train_excluded = y_train.iloc[1:, :]
|
||||||
|
|
||||||
pipeline.fit(X_train_excluded, y_train_excluded, model__epochs=10, model__validation_split=0.1)
|
pipeline.fit(X_train_excluded, y_train_excluded, model__epochs=10, model__validation_split=0.1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user