Skip to content

[WIP] Adding Fixed Width Discretization #5825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 28 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
576ba97
#5778: Created KBins discretizer
hlin117 Jul 19, 2015
7464243
#5778: Refactored code, added doctest
hlin117 Nov 16, 2015
586306f
#5778: Fixed doctest, added spacing_ attribute
hlin117 Nov 16, 2015
e61431e
#5778: Renamed X to y, removed y=None
hlin117 Nov 16, 2015
0419cec
#5778: Renamed FixedWidthDiscretizer to Discretizer
hlin117 Nov 17, 2015
3e7d475
#5778: Allowing Discretizer to accept 2D arrays
hlin117 Nov 17, 2015
a1f3cf0
#5778: Removed the 'strategy' parameter
hlin117 Nov 18, 2015
b80589b
#5778: Added support for sparse matrices csc and csr
hlin117 Nov 18, 2015
b3bad5a
#5788: Input validation in fit, not constructor. And fixed param options
hlin117 Nov 21, 2015
9647e9d
#5778: Wrote sparse functions and tests for csr_matrix
hlin117 Nov 21, 2015
90bada5
#5778: Adding sparse modification to Discretizer class
hlin117 Nov 21, 2015
1091399
#5778: Renamed the data types
hlin117 Nov 21, 2015
7335088
\#5778: Fixing up min and max for csr
hlin117 Nov 21, 2015
871ed44
\#5778: Fixed issue with integer datasets
hlin117 Nov 22, 2015
7690c3d
#5778: Replaced continuous masks with list indexers
hlin117 Nov 23, 2015
6955a76
#5778: Changed min and max of csr/csc to use np.float64 conversion
hlin117 Nov 23, 2015
8129e16
#5778: Replaced cut_points_ attribute with zero_intervals_ and search…
hlin117 Dec 21, 2015
e1f909d
#5778: Added test case, fixed bugs related to new discretization scheme
hlin117 Dec 21, 2015
dd7c0ca
#5778: Adding cython discretization, need to test
hlin117 Dec 21, 2015
aa81520
#5778: Preliminary fixes to the binary search
hlin117 Dec 22, 2015
7ffedb0
#5778: Resolving dense matrix discretization
hlin117 Dec 22, 2015
b7cfa62
#5778: Can now discretize csc_matricies with 2 bins
hlin117 Dec 22, 2015
ce87d39
#5778: Added test case to discretize sparse with 3 bins
hlin117 Dec 22, 2015
204b4d9
#5778: Releasing python gil in cython
hlin117 Dec 22, 2015
3667577
#5778: Fixed documentation, added tests for single categorical feature
hlin117 Dec 22, 2015
c50eaf4
#5778: Adding setup.py
hlin117 Dec 22, 2015
01b934b
Addressing minor changes from @vene
hlin117 Feb 8, 2016
5762cf2
Fixing build by using embedded six package
hlin117 Feb 8, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sklearn/preprocessing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from ._function_transformer import FunctionTransformer

from .discretization import Discretizer
from .data import Binarizer
from .data import KernelCenterer
from .data import MinMaxScaler
Expand Down Expand Up @@ -34,6 +35,7 @@
__all__ = [
'Binarizer',
'FunctionTransformer',
'Discretizer',
'Imputer',
'KernelCenterer',
'LabelBinarizer',
Expand Down
Loading