From b26672770e34e51257e672935b98a722253df409 Mon Sep 17 00:00:00 2001 From: "philip.deegan" Date: Mon, 27 May 2019 10:37:27 +0200 Subject: [PATCH] change comb import to new non deprecated version --- tick/preprocessing/longitudinal_features_product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tick/preprocessing/longitudinal_features_product.py b/tick/preprocessing/longitudinal_features_product.py index 5dcdbd175..71307ca0e 100644 --- a/tick/preprocessing/longitudinal_features_product.py +++ b/tick/preprocessing/longitudinal_features_product.py @@ -4,7 +4,7 @@ import scipy.sparse as sps from itertools import combinations from copy import deepcopy -from scipy.misc import comb +from scipy.special import comb from sklearn.externals.joblib import Parallel, delayed from tick.preprocessing.base import LongitudinalPreprocessor from .build.preprocessing import SparseLongitudinalFeaturesProduct