-
-
Notifications
You must be signed in to change notification settings - Fork 26k
[MRG] Save sample_weight_arr instead of sample_weight in KernelDensity #13772
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
Merged
ogrisel
merged 15 commits into
scikit-learn:master
from
aditya1702:kernel_density_sample_weight
May 14, 2019
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c199cb6
change sample_weight to sample_weight_arr
aditya1702 3933e99
add a test
aditya1702 0476cf3
Fix 84 characters in a line
aditya1702 c136f2a
add one more line between functions
aditya1702 b6c483a
set sample_state_arr
aditya1702 4baab0d
assign sample weights after unpickling
aditya1702 7e51d13
save sample_weight and sum_weight too
aditya1702 2228155
set sample_weight and sum_weight after unpickling
aditya1702 1ce2496
also handle the case when sample_weight is None
aditya1702 9442dab
initialise n_samples
aditya1702 2128a24
check if sample weight has proper size
aditya1702 d2e4581
Restore backward compat with 0.20 pickle files + factor redundant code
ogrisel 57c3700
Merge branch 'master' into HEAD
jnothman 3995316
DOC add what's new
jnothman 5539ff8
Factorize KDE pickling tests via pytest.mark.parametrize
ogrisel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.