Skip to content

Commit 974a025

Browse files
committed
📝 optimize imports
1 parent 4e3f468 commit 974a025

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

sklift/models/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import warnings
2+
23
import numpy as np
34
import pandas as pd
45
from sklearn.base import BaseEstimator
5-
from sklearn.utils.validation import check_consistent_length
66
from sklearn.utils.multiclass import type_of_target
7+
from sklearn.utils.validation import check_consistent_length
78

89

910
class SoloModel(BaseEstimator):

sklift/tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import numpy as np
2-
import pandas as pd
31
import itertools
42
from collections import defaultdict
5-
import pytest
63

4+
import numpy as np
5+
import pandas as pd
6+
import pytest
77

88
n_vals = (100, 1000)
99
k_vals = (1, 5)

sklift/tests/test_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from sklearn.linear_model import LogisticRegression, LinearRegression
33
from sklearn.pipeline import Pipeline
44
from sklearn.preprocessing import StandardScaler
5+
56
from ..models import (
67
SoloModel,
78
ClassTransformation,

0 commit comments

Comments
 (0)