Skip to content

Commit a7c009e

Browse files
PEP 257 compliant #195
1 parent 07c0953 commit a7c009e

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

instance_selection/_CNN.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313

1414
class CNN:
15+
1516
"""
1617
Hart, P. (1968). The condensed nearest neighbor rule (corresp.). IEEE
1718
transactions on information theory, 14(3), 515-516.

instance_selection/_DROP3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717

1818
class DROP3:
19+
1920
"""
2021
Wilson, D. R., & Martinez, T. R. (2000). Reduction techniques for
2122
instance-based learning algorithms. Machine learning, 38(3), 257-286.

instance_selection/_ENN.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414

1515
class ENN:
16+
1617
"""
1718
Wilson, D. L. (1972). Asymptotic properties of nearest neighbor rules
1819
using edited data. IEEE Transactions on Systems, Man, and

instance_selection/_RNN.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616

1717
class RNN:
18+
1819
"""
1920
Gates, G. (1972). The reduced nearest neighbor rule (corresp.).
2021
IEEE transactions on information theory, 18(3), 431-433.

instance_selection/utils/_transformer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
def transform(samples, y):
55
"""
6+
Transform pandas DataFrame to Sklearn Bunch
7+
68
It takes a pandas dataframe and a pandas series, converts them to numpy
79
arrays, and returns a Bunch object with the data and target attributes
810
set to the numpy arrays

0 commit comments

Comments
 (0)