Registry / other / mlpack

mlpack

JSON →
library4.7.0vcpkgunverified

mlpack is an intuitive, fast, and flexible header-only C++ machine learning library with bindings to other languages.

vcpkg install mlpack
INSTALL
IMPORT
SIG · MLPACK
M
mlpack
othercppv4.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mlpack/core.hpp
#include <mlpack/core.hpp>

Perform nearest neighbor search on random data.

#include <mlpack/core.hpp> #include <mlpack/methods/neighbor_search/neighbor_search.hpp> int main() { arma::mat data = arma::randu<arma::mat>(3, 100); mlpack::neighbor::NeighborSearch<mlpack::neighbor::NearestNeighborSort> nn(data); arma::Mat<size_t> neighbors; arma::mat distances; nn.Search(5, neighbors, distances); return 0; }
Debug
Known issues
gotchamlpack is header-only but requires Armadillo and other dependencies; linking may be complex.
fix
Ensure all dependencies are properly linked via CMake target.
affects: *
Upgrade
Version history
4.7.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

mlpack — pip install mlpack · libregistry