Update 'ium_zadanie6_evaluation.py'
This commit is contained in:
parent
7d96ad4ca5
commit
8439d39d7b
@ -20,7 +20,7 @@ y_predicted = model.predict(x_test, batch_size=64)
|
|||||||
error = mean_squared_error(y_test, y_predicted)
|
error = mean_squared_error(y_test, y_predicted)
|
||||||
|
|
||||||
with open('evaluation.txt', 'a+') as f:
|
with open('evaluation.txt', 'a+') as f:
|
||||||
f.write('%d\n' % error)
|
f.write('%f\n' % error)
|
||||||
|
|
||||||
errors = np.genfromtxt('evaluation.txt')
|
errors = np.genfromtxt('evaluation.txt')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user