liblinear
« Back to VersTracker
Description:
Library for large linear classification
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Ai ml
Tags: machine-learning svm classification statistics c++
Install: brew install liblinear
About:
Liblinear is a highly optimized library for large-scale linear classification, supporting Support Vector Machines (SVM) and Logistic Regression. It is widely recognized for its speed and efficiency, particularly in text categorization and bioinformatics. The library offers a simple command-line interface and a robust API for integration into other software.
Key Features:
  • High performance and scalability for large datasets
  • Supports L1-regularized L2-loss and L2-regularized L1/L2-loss SVM and Logistic Regression
  • Simple command-line interface for training and prediction
  • Cross-validation for model selection
Use Cases:
  • Text categorization and document classification
  • Bioinformatics and genetic data analysis
  • Spam detection and sentiment analysis
  • Benchmarking new machine learning algorithms
Alternatives:
  • libsvm – Libsvm supports non-linear kernels (like RBF) but is generally slower on large, linear datasets compared to Liblinear.
  • scikit-learn – Scikit-learn is a comprehensive Python library that includes linear models, whereas Liblinear is a specialized C++ library focused purely on high-performance linear classification.
Version History
Detected Version Rev Change Commit
Sep 10, 2025 6:10pm 0 VERSION_BUMP 21e57abc
Jan 5, 2025 5:16am 0 VERSION_BUMP cf9a8328