A library for large-scale linear classification.
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.
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, ¶m);
double predict = predict(model, prob.x[0]);
printf("%f\n", predict);
free_and_destroy_model(&model);
destroy_param(¶m);
return 0;
}
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.