Skip to content

Commit

Permalink
Merge pull request #48 from IBM/rfd-dev
Browse files Browse the repository at this point in the history
🛠️ Code-dev: Only import wilcoxon when needed
  • Loading branch information
RaulFD-creator authored Oct 7, 2024
2 parents 79bc336 + 195dde0 commit c120f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hestia/dataset_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -553,6 +552,7 @@ def compare_models(
:type statistical_test: str, optional
:rtype: np.ndarray
"""
from scipy.stats import wilcoxon
stat_tests = {
'wilcoxon': wilcoxon
}
Expand Down

0 comments on commit c120f76

Please sign in to comment.