linfa
linfa copied to clipboard
Support ndarray 0.16
If project uses ndarray 0.16, the following error occurs when initializing DatasetBase:
the trait `Records` is not implemented for `ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>`
any hope for support 0.16?
if you clone the repo, just bump up ndarray to "0.16" and linfa-linalg = "0.2". that's how i got this to work
@YuhanLiin Noticed you have recently updated linfa-linalg to 0.2. Will updating linfa's ndarray to 0.16 break anything? If not, can you submit a pull request to update ndarray to 0.16?
It does break some stuff, i had to update linfa to ndarray and then update ndarray-csv (on my github). linfa-linalg to v0.2 and ndarray-linalg are mutually exclusive, so i had to make changes there too. It's quite involved, easy code changes but many locations.
I no longer maintain Linfa, but if someone uploads a PR for bumping ndarray I can review and merge it.
Does anyone maintain Linfa?
I might be interested in giving it a look if nobody is working on it. @infosechoudini @YuhanLiin
@superhedge22 Noticed your fork of linfa has updated ndarray to 0.16 from a search on GitHub, can you submit a PR if everything goes well?
For those watching this, it appears this is being worked on in https://github.com/rust-ml/linfa/pull/371 🎉
So, when will it be released? Today is August 3.