Update 'simple_regression.py'
This commit is contained in:
parent
f5a2673e07
commit
fc59ee8b36
@ -48,7 +48,7 @@ history = model.fit(
|
||||
y_pred = model.predict(test_piece_counts)
|
||||
|
||||
# Zapis predykcji do pliku
|
||||
results = pd.DataFrame({"test_set_piece_count": test_piece_counts.numpy().tolist(), "predicted_price": [a[0] for a in y_pred.tolist()]})
|
||||
results = pd.DataFrame({"test_set_piece_count": test_piece_counts.tolist(), "predicted_price": [a[0] for a in y_pred.tolist()]})
|
||||
results.to_csv(r'lego_reg_results.csv', index=False, header=True)
|
||||
|
||||
# Zapis modelu do pliku
|
||||
|
Loading…
Reference in New Issue
Block a user