[][src]Struct liblinear::Builder

pub struct Builder { /* fields omitted */ }

Primary model builder. Functions as the entry point into the API.

Methods

impl Builder[src]

pub fn new() -> Builder[src]

Creates a new instance of the builder.

pub fn problem(&mut self) -> &mut ProblemBuilder[src]

Builder for the model's linear problem.

pub fn parameters(&mut self) -> &mut ParameterBuilder[src]

Builder for the model's tunable parameters.

pub fn build_cross_validator(
    self
) -> Result<impl LibLinearCrossValidator, Error>
[src]

Builds a LibLinearCrossValidator instance with the given problem and parameters.

pub fn build_model(self) -> Result<impl LibLinearModel, Error>[src]

Builds a LibLinearModel instance with the given problem and parameters.

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder

impl Unpin for Builder

impl UnwindSafe for Builder

impl RefUnwindSafe for Builder

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]