|
44 | 44 | "from sklearn.decomposition import PCA\n", |
45 | 45 | "from sklearn.svm import SVC\n", |
46 | 46 | "\n", |
47 | | - "from unbalanced_dataset.under_sampling import RandomUnderSampler\n", |
48 | | - "from unbalanced_dataset.under_sampling import NearMiss\n", |
49 | | - "from unbalanced_dataset.under_sampling import CondensedNearestNeighbour\n", |
50 | | - "from unbalanced_dataset.under_sampling import OneSidedSelection\n", |
51 | | - "from unbalanced_dataset.under_sampling import NeighbourhoodCleaningRule\n", |
52 | | - "from unbalanced_dataset.under_sampling import TomekLinks\n", |
53 | | - "from unbalanced_dataset.under_sampling import ClusterCentroids\n", |
54 | | - "from unbalanced_dataset.under_sampling import EditedNearestNeighbours\n", |
55 | | - "from unbalanced_dataset.under_sampling import InstanceHardnessThreshold\n", |
56 | | - "\n", |
57 | | - "from unbalanced_dataset.over_sampling import RandomOverSampler\n", |
58 | | - "from unbalanced_dataset.over_sampling import SMOTE\n", |
59 | | - "\n", |
60 | | - "from unbalanced_dataset.combine import SMOTETomek\n", |
61 | | - "from unbalanced_dataset.combine import SMOTEENN\n", |
62 | | - "\n", |
63 | | - "from unbalanced_dataset.ensemble import EasyEnsemble\n", |
64 | | - "from unbalanced_dataset.ensemble import BalanceCascade\n", |
| 47 | + "from imblearn.under_sampling import RandomUnderSampler\n", |
| 48 | + "from imblearn.under_sampling import NearMiss\n", |
| 49 | + "from imblearn.under_sampling import CondensedNearestNeighbour\n", |
| 50 | + "from imblearn.under_sampling import OneSidedSelection\n", |
| 51 | + "from imblearn.under_sampling import NeighbourhoodCleaningRule\n", |
| 52 | + "from imblearn.under_sampling import TomekLinks\n", |
| 53 | + "from imblearn.under_sampling import ClusterCentroids\n", |
| 54 | + "from imblearn.under_sampling import EditedNearestNeighbours\n", |
| 55 | + "from imblearn.under_sampling import InstanceHardnessThreshold\n", |
| 56 | + "\n", |
| 57 | + "from imblearn.over_sampling import RandomOverSampler\n", |
| 58 | + "from imblearn.over_sampling import SMOTE\n", |
| 59 | + "\n", |
| 60 | + "from imblearn.combine import SMOTETomek\n", |
| 61 | + "from imblearn.combine import SMOTEENN\n", |
| 62 | + "\n", |
| 63 | + "from imblearn.ensemble import EasyEnsemble\n", |
| 64 | + "from imblearn.ensemble import BalanceCascade\n", |
65 | 65 | "\n", |
66 | 66 | "# Save a nice dark grey as a variable\n", |
67 | 67 | "almost_black = '#262626'" |
|
0 commit comments