This commit is contained in:
parent
34ff694fcd
commit
236863587a
2
train.py
2
train.py
@ -48,6 +48,6 @@ parser.add_argument('--epochs')
|
|||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
model = RegressionModel()
|
model = RegressionModel()
|
||||||
model.load_data("df_train.csv", "df_test.csv")
|
model.load_data("df_train.csv", "df_test.csv")
|
||||||
model.train(epochs=args.epochs)
|
model.train(epochs=int(args.epochs))
|
||||||
model.evaluate()
|
model.evaluate()
|
||||||
model.save_model()
|
model.save_model()
|
||||||
|
Loading…
Reference in New Issue
Block a user