Releases: dswah/pyGAM
Releases · dswah/pyGAM
v0.9.1
v0.9.0
v0.8.0
New Features
- cyclic p-splines: you can now train models with periodic features by using the
'cp'
basis like so:
GAM(s(0, basis='cp'))
- factor smooths now allow dummy coding, via:
GAM(f(0, coding='dummy'))
Models using this coding scheme are more statistically interpretable , and computationally less expensive than those using one-hot encodings.
Bug Fixes
- models can mix constrained terms and un-constrained tensor-terms
- tensor terms can be constrained
v0.7.2
v0.7.1
v0.7.0
v0.6.3
New Features
gridsearch(...)
allows searching across a predefined grid of points, without doing the cartesian product, when grid is anp.ndarray
of shape(n_points, len(flatten(gam.lam)))
. This is useful for RandomSearchCV - style behavior.
Bug Fixes
estimate_r_squared(X, y)
no longer raisesAttributeError
dtype=auto
no longer allowed for termsintercept.lam = None
v0.6.1
New Features
- easier global arguments for terms
GAM(s(0) + s(1), n_splines=10).fit(X, y)
will broadcast n_splines=10
to all terms
Bug Fixes
- fixed inconsistencies in GAM instatiation, where
GAM(lam=0.6).gridsearch(X, y)
worked for multi-dimensional X
but not
GAM(lam=0.6).gridsearch(X, y)
v0.5.5
New Featrues
- all GAM classes have a verbose argument. this makes them compatible with sklearn GridsearchCV + RandomizedsearchCV
- add
toy_classification
dataset - move
generate_X_grid
toGAM
method
Bug Fixes
- users should get a more pythonic experience with
partial_dependence
by never needing to index with i+1 _initial_estimate()
method no longer fails on value nudge for purely integer observations- regenerate images
- bugs in readme
- fixes bug where poorly conditioned matrix would fail when using skcholmod
- make2d should not be verbose in
initial_estimate()