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

Implement sample weight #324

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
0bfe5f3
add manifest to simplify non-develop install
peterfoley Jan 23, 2019
87423f8
record the number of iterations and convergence status
peterfoley Mar 1, 2019
5ba9fab
test glmnet with nonzero reg_lambda, alpha
peterfoley Mar 5, 2019
34be299
recalculate z every iteration in GLM._cdfast
peterfoley Mar 5, 2019
2350c7e
flake8 fixes in test
peterfoley Mar 5, 2019
48d6759
don't cache z outside _cdfast
peterfoley Mar 6, 2019
42315f8
remove MANIFEST.in so it can be created properly in a later PR
peterfoley Mar 6, 2019
d80b11f
remove a dangling creation of z cache
peterfoley Mar 6, 2019
92238b2
resolved remaining flake8 issues by disabling checks
peterfoley Mar 6, 2019
2c06fbb
resolve flake8 indentation error
peterfoley Mar 6, 2019
a9209f5
update test_cdfast to remove z from _cdfast interface
peterfoley Mar 6, 2019
2674333
fail test_glmnet based on loss increase runlength
peterfoley Mar 6, 2019
5175d24
mkl dylibs are unavailable on travis
peterfoley Mar 6, 2019
2e29239
add a test that uses sample_weight parameter
peterfoley Dec 13, 2018
192d938
implement sample weights
peterfoley Dec 13, 2018
bc9b9df
update cheatsheet with weighted loss and grad/hess calculations
peterfoley Dec 14, 2018
832452b
typo fixes and formatting cleanup to reduce flake8 warnings/errors
peterfoley Jan 4, 2019
d26abe9
have setuptools build package list
peterfoley Jan 23, 2019
4e97389
remove math.inf for python 2.7 compatibility
peterfoley Mar 7, 2019
6c250a0
merging cdfast convergence fixes
peterfoley Mar 7, 2019
217dc5f
flake8 fixes
peterfoley Mar 7, 2019
cc0bd9c
resolve indentation flake8 errors
peterfoley Mar 7, 2019
8a6dec4
logger.warn is deprecated in favor of logger.warning
peterfoley Mar 7, 2019
e8f038a
use scipy.special.comb instead of removed scipy.misc.comb
May 17, 2019
8255617
Merge pull request #1 from peterfoley605/fix_scipy
May 17, 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
Prev Previous commit
Next Next commit
use scipy.special.comb instead of removed scipy.misc.comb
  • Loading branch information
Peter Foley (605) committed May 17, 2019
commit e8f038a5de3a917fc60020dcbc637bf6808c4961
2 changes: 1 addition & 1 deletion pyglmnet/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import tempfile
import itertools
import numpy as np
from scipy.misc import comb
from scipy.special import comb

from .externals.six.moves import urllib

Expand Down