From ff236dbe0f8e2d7778b6e698554d667bcb1bcc03 Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Fri, 5 Feb 2021 17:35:05 +0100
Subject: [PATCH] Improved documentation of classification report.

---
 pysegcnn/core/trainer.py | 2 ++
 pysegcnn/core/utils.py   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/pysegcnn/core/trainer.py b/pysegcnn/core/trainer.py
index 4d41611..a2e6170 100644
--- a/pysegcnn/core/trainer.py
+++ b/pysegcnn/core/trainer.py
@@ -2061,6 +2061,8 @@ class NetworkInference(BaseConfig):
         Path to store plots of model predictions for entire scenes.
     perfmc_path : :py:class:`pathlib.Path`
         Path to store plots of model performance, e.g. confusion matrix.
+    models_path : :py:class:`pathlib.Path`
+        Path to store the :py:func:`sklearn.metrics.classification_reports`.
     models_path : :py:class:`pathlib.Path`
         Path to search for model state files ``state_files``.
     plot_kwargs : `dict`
diff --git a/pysegcnn/core/utils.py b/pysegcnn/core/utils.py
index 4384259..eefc064 100644
--- a/pysegcnn/core/utils.py
+++ b/pysegcnn/core/utils.py
@@ -2636,7 +2636,7 @@ def _tmp_path(path):
 
 
 def report2latex(classification_report, filename=None):
-    """Convert :py:class:`sklearn.metrics.classification_report` to Latex.
+    """Convert :py:func:`sklearn.metrics.classification_reports` to Latex.
 
     Parameters
     ----------
-- 
GitLab