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
d76512c266
commit
c9d2571bf3
@ -41,7 +41,7 @@ output_dim = 1
|
||||
|
||||
model = LogisticRegressionModel(input_dim, output_dim)
|
||||
|
||||
pred = model(xTest)
|
||||
pred = model(fTest)
|
||||
accuracy = accuracy_score(fTest, np.argmax(pred.detach(), axis = 1))
|
||||
|
||||
print(f'Accuracy: {accuracy}')
|
Loading…
Reference in New Issue
Block a user