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.
python
import nemos as nmo
model = nmo.glm.GLM(regularizer="Ridge", regularizer_strength=0.1)
- **New `TransformerBasis` API:** All Basis attributes are now available in `TransformerBasis`, facilitating inspection and cross-validation. See the updated tutorial in the API guide.
python
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 https://github.com/flatironinstitute/nemos/pull/175
* improved docstrings by BalzaniEdoardo in https://github.com/flatironinstitute/nemos/pull/182
* run ci only for non-draft prs by BalzaniEdoardo in https://github.com/flatironinstitute/nemos/pull/192
* Refactoring regularizer and solver by clewis7 in https://github.com/flatironinstitute/nemos/pull/183
* add tests for checking get_params() by clewis7 in https://github.com/flatironinstitute/nemos/pull/200
* Provide a range for basis by BalzaniEdoardo in https://github.com/flatironinstitute/nemos/pull/191
* update contributing guide by clewis7 in https://github.com/flatironinstitute/nemos/pull/198
* fix convergence tests by clewis7 in https://github.com/flatironinstitute/nemos/pull/206
* Update `TransformerBasis` and `Basis` to work with scikit-learn pipelining and CV by bagibence in https://github.com/flatironinstitute/nemos/pull/169
* fixed basis __call__ docstrings by BalzaniEdoardo in https://github.com/flatironinstitute/nemos/pull/209
New Contributors
* clewis7 made their first contribution in https://github.com/flatironinstitute/nemos/pull/183 🚀 🚀 🚀
* bagibence made their first contribution in https://github.com/flatironinstitute/nemos/pull/169 🚀 🚀 🚀
**Full Changelog**: https://github.com/flatironinstitute/nemos/compare/0.1.5...0.1.6