Optimize imports

This commit is contained in:
2021-04-06 16:23:55 -05:00
parent 332cdbd839
commit 3543a2ba92
19 changed files with 33 additions and 39 deletions

View File

@@ -3,8 +3,7 @@
# Released under the modified BSD license. See COPYING.md for more details.
import logging
from copy import deepcopy
from typing import Dict, Callable, Optional
from typing import Dict, Optional
import numpy as np
from sklearn.linear_model import LogisticRegression
@@ -14,8 +13,8 @@ from sklearn.pipeline import make_pipeline
from sklearn.preprocessing import StandardScaler
from miplearn.classifiers import Classifier
from miplearn.classifiers.sklearn import ScikitLearnClassifier
from miplearn.classifiers.counting import CountingClassifier
from miplearn.classifiers.sklearn import ScikitLearnClassifier
logger = logging.getLogger(__name__)

View File

@@ -3,7 +3,7 @@
# Released under the modified BSD license. See COPYING.md for more details.
import logging
from typing import Optional, Callable, List
from typing import Optional, List
import numpy as np
from sklearn.dummy import DummyClassifier