Registry / other / liblinear

liblinear

JSON →
library249vcpkgunverified

A library for large-scale linear classification.

other
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.

#include <linear.h>

Train a linear model and make a prediction.

#include <linear.h> #include <cstdio> int main() { struct problem prob; // Set up problem data (features, labels) struct parameter param; param.solver_type = L2R_LR; struct model* model = train(&prob, &param); double predict = predict(model, prob.x[0]); printf("%f\n", predict); free_and_destroy_model(&model); destroy_param(&param); return 0; }
Debug
Known footguns
gotchaLIBLINEAR is a C library; C++ wrappers may be needed for RAII.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources

No resource links recorded.