chore: old thing

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-06-07 15:05:34 -03:00
parent ec57dc7231
commit f1b634b20b
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
import re;
def main():
file = open("anova_rf-0.txt", "r")
val_acc_rgx = re.compile("val_acc:\s\d\.\d{4}")
for line in file.readlines():
m = val_acc_rgx.search(line)
if m:
print(float(m.group(0).split(" ")[1]))
if __name__ == "__main__":
main()