
liblinear-java
liblinear-java provides a Java version of LIBLINEAR for linear classification and regression models.

About liblinear-java
liblinear-java is a Java port of LIBLINEAR for large-scale regularized linear classification, regression and outlier detection. It stays close to the original C++ source code and provides Linear.train, Linear.predict and Linear.predictProbability for programmatic use, with Java 11 or later as the only requirement.
Use follows the original LIBLINEAR documentation, including LIBSVM data format with feature indexes starting from 1. The default solver can be slow when data is not scaled or C is large, and beginners with small datasets are advised to consider LIBSVM first.
Key features
- Java version of LIBLINEAR for linear classification and regression
- Handles L2- and L1-regularized logistic regression and SVM classification
- Handles L2- and L1-loss support vector regression tasks
- Includes one-class support vector machine for outlier detection
- Offers Linear.train, Linear.predict and Linear.predictProbability methods
- Requires Java 11 or later; distributed as Maven artifact version 2.44
- Only requires Java 11 or later
- Stays close to upstream C++ source for maintenance and code review
- Supports multiple regularized linear classification and regression solvers
- Default solver may be slow if data is not scaled or C is large
- Beginners with small datasets are advised to consider LIBSVM first
- Feature index must start from 1, not 0
liblinear-java at a glance
- Category
- Development › Developer Tools
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for Developer Tools
liblinear-java alternatives
Tools and sites you could use instead, ranked by how closely they match.
Prediction with gradient boosting regression tree models is implemented in leaves, a Go software library.
ArtiVC provides command-line data versioning for managing large files in cloud storage.
Find the latest release version of a project with lastversion, a command-line tool documented in this repository.
simple-statistics implements descriptive, regression, and inferential statistics in JavaScript.
Chips-n-Salsa provides Java implementations of customizable stochastic and adaptive local search algorithms.
Java and JVM bytecode can be decompiled with Vineflower, a general-purpose tool.
Popular in Developer Tools
Well-known listings from the same topic.
liblinear-java FAQ
What do I need to use liblinear-java?
What are the main methods for using it in code?
When should I use LIBLINEAR instead of LIBSVM?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.













