-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cannot create NeighborSearch with arma:fmat MatType #506
Comments
Hi there, It turns out that I never wrote a test for this use case, and fixing this will take some more work than I had anticipated. I think that when I allowed arbitrary |
I think you should note in library overview about incomplete |
Similar problem in KMeans: float mat[] = { 1, 2, 3, 4, 5, 6 };
const arma::fmat data(mat, 2, 3, false, true);
size_t number_of_clusters = 2;
arma::Row<size_t> assignments(3);
arma::mat centroids(2, 3);
km::KMeans<mlpack::metric::EuclideanDistance, km::RandomPartition,
km::MaxVarianceNewCluster, km::NaiveKMeans, arma::fmat> k;
k.Cluster(data, number_of_clusters, assignments, centroids);
|
This issue still exists. @ojhalakshya and I are taking this up. |
Hey @rcurtin |
@rcurtin how must we proceed in this issue. |
@ojhalakshya this is not an easy issue to resolve. :) It will require templating everything involved with |
okay @rcurtin will see into these files, and try to make some things work out. |
I cannot declare type:
using KnnModel = mlpack::neighbor::NeighborSearch<mlpack::neighbor::NearestNeighborSort, mlpack::metric::ManhattanDistance, arma::fmat, mlpack::tree::KDTree>;
error:
Is threre no implementation for float or I'm doing something wrong?
The text was updated successfully, but these errors were encountered: