add eval script
Some checks failed
s440058-evaluation/pipeline/head There was a failure building this commit
Some checks failed
s440058-evaluation/pipeline/head There was a failure building this commit
This commit is contained in:
parent
0df7d2d8cf
commit
0bd1982754
@ -47,7 +47,7 @@ model = LogisticRegressionModel(input_dim, output_dim)
|
||||
|
||||
pred = model(fTest)
|
||||
accuracy = accuracy_score(tTest, np.argmax(pred.detach().numpy(), axis = 1))
|
||||
f1 = f1_score(tTest, np.argmax(pred.detach().numpy(), axis = 1, average = None))
|
||||
f1 = f1_score(tTest, np.argmax(pred.detach().numpy(), axis = 1), average = None)
|
||||
rmse = mean_squared_error(tTest, np.argmax(pred.detach().numpy()))
|
||||
|
||||
print(f'Accuracy: {accuracy}')
|
||||
|
Loading…
Reference in New Issue
Block a user