Registry / other / fann
library2.2.0vcpkgunverified

Fast Artificial Neural Network (FANN) Library is a free open source neural network library, which implements multilayer artificial neural networks in C with support for both fully connected and sparsely connected networks.

vcpkg install fann
INSTALL
IMPORT
SIG · FANN
F
fann
othercppv2.2.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.

fann.h
#include <fann.h>

Minimal example creating and training a neural network.

#include <fann.h> #include <iostream> int main() { struct fann *ann = fann_create_standard(3, 2, 3, 1); fann_train_on_file(ann, "xor.data", 100000, 1000, 0.001); fann_destroy(ann); std::cout << "FANN example done" << std::endl; return 0; }
Debug
Known issues
gotchaFANN is a C library; C++ wrappers may be needed for RAII.
fix
Use fann_destroy() to free memory; consider using smart pointers with custom deleters.
affects: *
Upgrade
Version history
2.2.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

fann — pip install fann · libregistry