Releases: flatironinstitute/nemos
Releases · flatironinstitute/nemos
0.1.6
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
NeMoS version 0.1.5
New with this release:
- `GammaObservations model, for fitting Gamma-GLMs.
- GLMs'
update
andinitialize_solver
methods for batching
NeMoS version 0.1.4
New with this release:
-
GammaObservations
model, for fitting Gamma-GLMs. -
GLMs'
update
andinitialize_solver
methods for batching
Compatiblity with `pynapple>=0.6.5`
This update make sure that nemos
is compatible with pynapple>=0.6.5
.
`nemos` for GLM and `PopulationGLM`
Release of the package tested for python 3.9, 3.10, and 3.11. Current modules include basis.py
for feature construction and glm
for single neuron and population GLM modeling.
`nemos` first release
First working release of nemos
.
Reserve package name on PyPI
This is an alpha version of the code. We are releasing this version with the aim of reserving the package name on PyPI