NeMoS New Release
In this new release:
- Simplified API for
GLM
: You can now set regularization using a string. All regularization and solver hyperparameters can be passed during GLM initialization.import nemos as nmo model = nmo.glm.GLM(regularizer="Ridge", regularizer_strength=0.1)
- New
TransformerBasis
API: All Basis attributes are now available inTransformerBasis
, facilitating inspection and cross-validation. See the updated tutorial in the API guide.import nemos as nmo transformer_basis = nmo.basis.RaisedCosineBasisLinear(10).to_transformer() print(transformer_basis.n_basis_funcs) # prints 10
- Bounds for
Basis
: Added support for specifying bounds for the range of values covered by a basis function.
What's Changed
- quickfix by @BalzaniEdoardo in #175
- improved docstrings by @BalzaniEdoardo in #182
- run ci only for non-draft prs by @BalzaniEdoardo in #192
- Refactoring regularizer and solver by @clewis7 in #183
- add tests for checking get_params() by @clewis7 in #200
- Provide a range for basis by @BalzaniEdoardo in #191
- update contributing guide by @clewis7 in #198
- fix convergence tests by @clewis7 in #206
- Update
TransformerBasis
andBasis
to work with scikit-learn pipelining and CV by @bagibence in #169 - fixed basis call docstrings by @BalzaniEdoardo in #209
New Contributors
- @clewis7 made their first contribution in #183 🚀 🚀 🚀
- @bagibence made their first contribution in #169 🚀 🚀 🚀
Full Changelog: 0.1.5...0.1.6