Commit 9583100a authored by Antoine PIGEAU's avatar Antoine PIGEAU
Browse files

improve latex export for transfert learning

parent aaa3b94f
......@@ -245,10 +245,10 @@ def exportTransfertLearningResult(fileName, dictResult):
for t in [25, 50, 75, 100]:
auc, accuracy, number = resultModel[t]
auc = round(auc,3)
accuracy = round(accuracy, 2)
auc = round(auc,2)
accuracy = int(round(accuracy, 2)*100+0.5)
fileResult.write(str(auc)+" & "+str(accuracy)+" & "+str(number))
fileResult.write(str(auc)+" & "+str(accuracy)+"\% & "+str(number))
if(t != 100):
fileResult.write(" && " )
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment