Browse Source

backward comp

ogert 3 years ago
parent
commit
aaa33ab256
1 changed files with 2 additions and 1 deletions
  1. 2 1
      cdplib/ml_validation/fine_tuning.py

+ 2 - 1
cdplib/ml_validation/fine_tuning.py

@@ -15,7 +15,8 @@ import numpy as np
 if (sys.version_info.major == 3) & (sys.version_info.minor >= 8):
 if (sys.version_info.major == 3) & (sys.version_info.minor >= 8):
     from typing import Iterable, Callable
     from typing import Iterable, Callable
 else:
 else:
-    from typing_extensions import * #Iterable, Callable
+    from 
+     import * #Iterable, Callable
 
 
 
 
 def get_optimal_proba_threshold(score_func: Callable,
 def get_optimal_proba_threshold(score_func: Callable,