Crate liblinear

Source
Expand description

§liblinear

liblinear is a Rust wrapper for the LIBLINEAR C/C++ machine learning library.

Modules§

util
Utility structs and functions for reading/generating training and prediction data.

Structs§

Builder
Primary model builder. Functions as the entry point into the API.
FeatureNode
Represents a single feature in a sparse feature vector.
ParameterBuilder
Builder for LibLinearParameter.
ProblemBuilder
Builder for LibLinearProblem.
Serializer
Helper struct to serialize and deserialize LibLinearModel instances.

Enums§

ModelError
Errors raised by a model’s API call.
ParameterError
Errors related to a model’s parameters.
ProblemError
Errors related to a model’s input/training data.
SolverType
Types of generalized linear models supported by liblinear.

Traits§

HasLibLinearParameter
Super-trait of LibLinearModel and LibLinearCrossValidator.
HasLibLinearProblem
Super-trait of LibLinearModel and LibLinearCrossValidator.
LibLinearCrossValidator
Represents a linear model that can be used for validation.
LibLinearModel
Represents a linear model that can be used for prediction.
LibLinearParameter
Represents the tunable parameters of a model.
LibLinearProblem
Represents a one-to-one mapping of source features to target values.

Functions§

liblinear_version
The version of the bundled liblinear C-library.
toggle_liblinear_stdout_output
Toggles the log output liblinear prints to the program’s stdout.