Skip to content

Instantly share code, notes, and snippets.

View isitadaptative's full-sized avatar

isitadaptative

View GitHub Profile
@FRodrigues21
FRodrigues21 / cmtolatex.py
Last active June 28, 2024 14:23
Array Confusion Matrix to LaTeX Table
def gen_align(align, size):
texto = ""
for i in range(0,size):
texto += align
return texto
def gen_header(size):
header = " "
for i in range(0, size):
header += "& " + str(i) + " "