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