Skip to content

Commit 37d199a

Browse files
authored
DOC add authorship for later recalling (scikit-learn-contrib#270)
1 parent de12f8f commit 37d199a

25 files changed

+116
-3
lines changed

imblearn/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""Base class for sampling"""
22

3+
# Authors: Guillaume Lemaitre <[email protected]>
4+
# Christos Aridas
5+
# License: MIT
6+
37
from __future__ import division
48

59
import logging

imblearn/combine/smote_enn.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
"""Class to perform over-sampling using SMOTE and cleaning using ENN."""
2+
3+
# Authors: Guillaume Lemaitre <[email protected]>
4+
# Christos Aridas
5+
# License: MIT
6+
27
from __future__ import division, print_function
38

49
import warnings

imblearn/combine/smote_tomek.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
"""Class to perform over-sampling using SMOTE and cleaning using Tomek
22
links."""
3+
4+
# Authors: Guillaume Lemaitre <[email protected]>
5+
# Christos Aridas
6+
# License: MIT
7+
38
from __future__ import division, print_function
49

510
import warnings

imblearn/datasets/imbalance.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
"""Transform a dataset into an imbalanced dataset."""
22

3+
4+
# Authors: Dayvid Oliveira
5+
# Guillaume Lemaitre <[email protected]>
6+
# Christos Aridas
7+
# License: MIT
8+
39
import logging
410
from collections import Counter
511

imblearn/datasets/tests/test_make_imbalance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Test the module easy ensemble."""
2+
23
from __future__ import print_function
34

45
from collections import Counter

imblearn/ensemble/balance_cascade.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
"""Class to perform under-sampling using balace cascade."""
2+
3+
# Authors: Guillaume Lemaitre <[email protected]>
4+
# Christos Aridas
5+
# License: MIT
6+
27
from __future__ import print_function
38

49
import warnings

imblearn/ensemble/easy_ensemble.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
"""Class to perform under-sampling using easy ensemble."""
2+
3+
# Authors: Guillaume Lemaitre <[email protected]>
4+
# Christos Aridas
5+
# License: MIT
6+
27
from __future__ import print_function
38

49
import numpy as np

imblearn/exceptions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
classes and functions used across imbalanced-learn.
44
"""
55

6+
# Authors: Guillaume Lemaitre <[email protected]>
7+
# License: MIT
8+
69

710
def raise_isinstance_error(variable_name, possible_type, variable):
811
raise ValueError("{} has to be one of {}. Got {} instead.".format(

imblearn/metrics/classification.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
the lower the better
99
"""
1010

11+
# Authors: Guillaume Lemaitre <[email protected]>
12+
# Dariusz Brzezinski
13+
# License: MIT
14+
1115
from __future__ import division
1216

1317
import warnings

imblearn/over_sampling/adasyn.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
"""Class to perform random over-sampling."""
2+
3+
# Authors: Guillaume Lemaitre <[email protected]>
4+
# Christos Aridas
5+
# License: MIT
6+
27
from __future__ import division, print_function
38

49
from collections import Counter

0 commit comments

Comments
 (0)