|
@@ -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,
|