diff --git a/src/python/miplearn/components/primal.py b/src/python/miplearn/components/primal.py index 3ad7046..2e8baf8 100644 --- a/src/python/miplearn/components/primal.py +++ b/src/python/miplearn/components/primal.py @@ -6,8 +6,6 @@ from copy import deepcopy from miplearn.classifiers.adaptive import AdaptiveClassifier from miplearn.components import classifier_evaluation_dict -from sklearn.metrics import roc_curve -from p_tqdm import p_map from .component import Component from ..extractors import * @@ -23,10 +21,8 @@ class PrimalSolutionComponent(Component): def __init__(self, classifier=AdaptiveClassifier(), mode="exact", - threshold=0.50, - ): + threshold=0.50): self.mode = mode - self.is_warm_start_available = False self.classifiers = {} self.threshold = threshold self.classifier_prototype = classifier