From 444d6703104967b69f7fd825e92a837e4b08d57c Mon Sep 17 00:00:00 2001 From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu> Date: Fri, 5 Feb 2021 17:02:19 +0100 Subject: [PATCH] Added a function to parse sklearn classification report to Latex. --- pysegcnn/core/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysegcnn/core/utils.py b/pysegcnn/core/utils.py index ee6e7e7..ebf9859 100644 --- a/pysegcnn/core/utils.py +++ b/pysegcnn/core/utils.py @@ -2649,7 +2649,7 @@ def report2latex(classification_report, filename=None): """ # convert to pandas DataFrame and export to latex - df = pd.DataFrame(classification_report).transpose() + df = pd.DataFrame(classification_report) # check if output filename exists if filename is not None: -- GitLab