New Bonsai.ML.Lds.Torch package to extract latents from high-dimensional data using TorchSharp#70
Conversation
6b0e89b to
93a8db0
Compare
|
Leaving here a summary of what we discussed earlier about deprecating the
The one consideration we discussed was whether to "nest" namespaces, e.g. we could use the name |
998bf00 to
c4e3bab
Compare
|
Updating the namespace of the existing |
c4e3bab to
274e6b4
Compare
fc8b8c0 to
1daacad
Compare
glopesdev
left a comment
There was a problem hiding this comment.
Looks good, left only a few minor comments to review.
d041405 to
f857e16
Compare
eeb66f6 to
a237e2c
Compare
a237e2c to
faca4ca
Compare
4daa799 to
cfd1e68
Compare
…dation during initialization
…imating neural latents
…Observations` and `numStates` are not provided
… of a tuple of tensors
…her than individual files which is more consistent with other `Bonsai.ML` packages
…ved validation logic outside of `KalmanFilter` module
… folder instead of individual file paths
…System` struct instead
…vided by parameters
…including moving devices, setting scalar types, and setting gradient tracking
…property during model creation
…be loaded without explicitly setting type and fixed path support
cfd1e68 to
d306bc2
Compare
d306bc2 to
e326a85
Compare
Bonsai.ML.Lds.Torch package to extract latents from high-dimensional data using TorchSharp
Summary
This PR introduces a new package,
Bonsai.ML.Lds.Torch, which implements linear dynamical systems (LDS) using TorchSharp for online filtering, smoothing, and parameter estimation in Bonsai. This package differs from theBonsai.ML.LinearDynamicalSystemspackage in that it does not depend on Python, and the models parameters can be customised. A test was added to compare the output of the TorchSharp implementation with the output of thelds_pythonpackage following parameter estimation and filtering of neural recordings.The PR in #77 should be merged first.
Refactoring the unit test to download the expected results instead of generating them with a Python script fixes #75