-
-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linfa-kernel fails to compile #307
Comments
I have the same issue. Seems like |
Yes. I tried creating a new |
I changed the start of the impl<F: Float> Inner for CsMat<F> where
CsMat<F>: Mul {
...
} which results in several errors that look like this:
Maybe this helps to diagnose the issue. |
Could be related to sparsemat/sprs#278 |
This is a regression introduced with the |
It works now. Thanks! |
You need the latest commit. Instead of this: linfa-kernel = "0.6.1" Use this: linfa-kernel = { git = "https://github.com/rust-ml/linfa.git" } |
Thanks! @avs-origami |
I;ve just opened sparsemat/sprs#330 |
I'm having this issue again today on linfa 0.7.0. Thanks to the above I resolved by pinning |
Fix some minor bugs. Output factorization. Partial latent space mixture model implementation. Use mixture model when factoring. Add genewise offset parameters. Attempts to debug the factorization model. First attempt at new poisson matrix factorization model. Purge old stuff from the NB model. Sampling r Fix bug in multinomial sampling. A failed attempt at inducing sparsity. Revert "A failed attempt at inducing sparsity." This reverts commit 57b59dc. Getting mixture model on phi working. Tweak beta prior. Gradual switch to gamma-gamma prior. Sampling phi and theta. Sampling r using the crt trick. Sampling s theta Sampling s phi Remove some dead code, fix a bug. Solve collapsing components by using NB marginal. Fix forgetting to sqrt variance. Fix kmeans initialization getting lost. Include missing prior means on s params. Lots of debugging junk. Figure out reasonable priors, delete some diagnostic shit. Optimization Tinkering with priors. Minor optimization. Add arguments to set some hyperparameters. Fix up clumsy rebase. Remove unecessary layer dimension from foreground_counts array. Faster sort on transcript repo. Remove unused counts array. PCA before Kmeans when initializing components assignments Remove some dead code. Debugging and tinkering with initialization. A possible implementation of 'effective volume' parameters. Different effective volume scheme, disabled for now. Add argument to exclude genes with regex, with xenium defaults. Dirichlet distributed theta, which seems to get better results. Also fixing phi dispersion parameter for now. Not ideal, but seems to get the best results. Option to write factorization parameters. Pin sprs at version 0.11.1 until compilation problems are resolved. See: rust-ml/linfa#307 Fix compile errors from rebase. Quantile transformation of z coordinates. Revert "Quantile transformation of z coordinates." This reverts commit cc39ad0223cb62ad50be0000860f61e07fb6af9b. Add volume term when sampling z, fix log_effective_volume not updating with --no-cell-scales Implement partial factorization scheme. Use more unfactored genes by default. Fix rebase, bump version. Remove some more debugging code. Replace some problematic dependencies.
When I try to build the wine quality example for linfa-svm, I get the following error:
I am on windows 10 with rustc version 1.70.0. I also tried version 0.5.1 which gives me the same error, and it also happens when I try it on my Arch Linux machine with rustc version 1.68.0.
I looked around in the source files, and it appears that this problem is related to the trait binding of the generic
F
:and
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: