Skip to content
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

[MRG+1] FEA Add Categorical Naive Bayes #12569

Merged
merged 87 commits into from
Sep 23, 2019
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
f69741f
initial implementation of categorical NB
timbicker Nov 5, 2018
4acee46
edit docstrings
timbicker Dec 5, 2018
5cc266a
fix np.unique return_counts for older np versions
timbicker Dec 5, 2018
ebb97b0
added attribute n_features_
timbicker Dec 5, 2018
83390f8
fix tests for py 2.7
timbicker Dec 5, 2018
e9987d8
changed docstrings and adjusted to pep8
timbicker Dec 11, 2018
efc3701
added setuptools parse_version
timbicker Dec 12, 2018
1c30b21
use dtype int64 for old numpy version and add handling of unseen cate…
timbicker Dec 12, 2018
4c6d8ba
fix dtype error
timbicker Dec 12, 2018
8b0f49c
fix doctest error and PEP
timbicker Dec 13, 2018
ce65046
improve documentation and user feedback
timbicker Dec 19, 2018
f7fec8a
include CategoricalNB to general naive bayes tests
timbicker Dec 19, 2018
81d2782
refactor tests
timbicker Dec 19, 2018
c6e14d8
Merge branch 'master' into categorical_NB
timbicker Dec 21, 2018
2163afa
fix pep 8
timbicker Dec 21, 2018
3e40f83
Merge branch 'categorical_NB' of github.com:timbicker/scikit-learn in…
timbicker Dec 21, 2018
3bb605d
fix docstring
timbicker Dec 29, 2018
dedffd2
change error message
timbicker Jan 2, 2019
248a048
add tests for alpha and unseen categories
timbicker Jan 2, 2019
14ff237
improve handle_unknown error handling
timbicker Jan 3, 2019
5034636
implement remarks
timbicker Jan 20, 2019
29bc282
add documentation
timbicker Jan 20, 2019
c1f25cf
improve documentation
timbicker Jan 21, 2019
1a462a8
removed all nditer and float conversions
timbicker Jan 22, 2019
8eff782
update documentation
timbicker Jan 25, 2019
ddf132e
merge master
timbicker Mar 13, 2019
a51aaef
add comments
timbicker Mar 19, 2019
faca471
fix flake 8 and py 3.6 string formatting
timbicker Mar 19, 2019
9af9b2a
remove _count input check for catNB
timbicker Mar 25, 2019
32b200b
add defaultdict
timbicker Mar 26, 2019
53187b3
add seperate input checks
timbicker Mar 27, 2019
2bd2628
fix flake 8
timbicker Mar 27, 2019
17713a2
refactor argument order and function names
timbicker Mar 27, 2019
dd932dc
trigger tests
timbicker Mar 28, 2019
bd9311a
remove comment
timbicker Mar 28, 2019
f896491
Merge master
timbicker Mar 31, 2019
652f613
cleanups to make it more concise
timbicker Apr 17, 2019
7abd2f7
removed old_numpy and cleaned up
timbicker Apr 17, 2019
5c15366
Merge remote-tracking branch 'upstream/master' into categorical_NB
timbicker Apr 17, 2019
b61334d
fix flake 8
timbicker Apr 17, 2019
5fbd3ee
small improvements in nb_test for catnb
timbicker Apr 17, 2019
bca6358
improve partial fit tests
timbicker Apr 18, 2019
e01dd15
add sample_weight functionality
timbicker Apr 18, 2019
9dfb630
add sample weight tests for catnb
timbicker Apr 18, 2019
ca16165
Apply suggestions from code review
timbicker May 31, 2019
44c8b0c
add remarks
timbicker May 31, 2019
f3ff651
Merge branch 'categorical_NB' of github.com:timbicker/scikit-learn in…
timbicker May 31, 2019
3e48575
add remarks
timbicker May 31, 2019
1c91a63
Merge branch 'master' into categorical_NB
timbicker May 31, 2019
edf2d05
use old tests from master
timbicker Jun 12, 2019
353f306
Merge branch 'master' into categorical_NB
timbicker Jun 13, 2019
ea8abe1
fix doctest
timbicker Jun 13, 2019
2951f7c
merge tests from master
timbicker Jun 13, 2019
8444c88
add remarks
timbicker Jun 15, 2019
3f7b41d
fix flake8
timbicker Jun 15, 2019
da41ba9
speed up for loop in joint log likelihood
timbicker Jun 15, 2019
34c89b2
add remarks
timbicker Jul 22, 2019
bf08c68
Merge branch 'master' into categorical_NB
timbicker Jul 22, 2019
cd0610f
add version log
timbicker Jul 22, 2019
fd0e44e
Merge branch 'master' into categorical_NB
timbicker Jul 23, 2019
17d6843
merge master
timbicker Jul 30, 2019
bb6acd7
use OrdinalEncoder
timbicker Aug 6, 2019
83c35c2
Merge branch 'master' into categorical_NB
timbicker Aug 6, 2019
b55cb4f
fix NotImplementedError and check_X force_all_finite
timbicker Aug 6, 2019
45c9264
fix flake 8
timbicker Aug 6, 2019
796dad7
assume OrdinalEncoder is applied in preprocessing
timbicker Aug 7, 2019
50282bd
reimplement partial_fit
timbicker Aug 7, 2019
6accf63
partial fit updates categories
timbicker Aug 7, 2019
dc5e5b5
use bincount instead of unique
timbicker Aug 11, 2019
31d84dc
Merge branch 'master' into categorical_NB
timbicker Aug 11, 2019
0a47dbb
fix docs
timbicker Aug 12, 2019
7fc523c
fix remarks
timbicker Aug 12, 2019
b3e8c65
Merge branch 'master' into categorical_NB
timbicker Aug 12, 2019
23e4929
Merge remote-tracking branch 'upstream/master' into test
qinhanmin2014 Aug 12, 2019
1c0455a
merge master
timbicker Aug 27, 2019
695f79f
add remarks
timbicker Aug 27, 2019
f054786
Merge branch 'categorical_NB' of github.com:timbicker/scikit-learn in…
timbicker Aug 27, 2019
b36fe8c
fix deprecated
timbicker Aug 27, 2019
cf867f1
update random in docstring
timbicker Sep 2, 2019
b5a435b
Merge branch 'master' into categorical_NB
timbicker Sep 2, 2019
51922cf
merge master
timbicker Sep 12, 2019
283e96a
add check_X comments
timbicker Sep 12, 2019
9ccb85c
Merge branch 'master' into categorical_NB
timbicker Sep 19, 2019
73a5a0b
add test sample_weight for scale invariance
timbicker Sep 19, 2019
cc37c5a
test for non-negativity
timbicker Sep 19, 2019
e226b45
fix non negative check, update interface of _update_count_dims
timbicker Sep 19, 2019
7d4b652
inline check_nonnegative
timbicker Sep 23, 2019
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
Loading