From 195dde098846e9b3cc499a5261fbdd33815d60ab Mon Sep 17 00:00:00 2001 From: RaulFD-creator Date: Mon, 7 Oct 2024 16:32:19 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20Code-dev:=20Only=20impo?= =?UTF-8?q?rt=20wilcoxon=20when=20needed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hestia/dataset_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hestia/dataset_generator.py b/hestia/dataset_generator.py index e18d3f8..9934503 100644 --- a/hestia/dataset_generator.py +++ b/hestia/dataset_generator.py @@ -5,7 +5,6 @@ import numpy as np import pandas as pd -from scipy.stats import wilcoxon from sklearn.metrics import auc from tqdm import tqdm @@ -553,6 +552,7 @@ def compare_models( :type statistical_test: str, optional :rtype: np.ndarray """ + from scipy.stats import wilcoxon stat_tests = { 'wilcoxon': wilcoxon }