[−][src]Struct liblinear::Builder
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]
self
) -> Result<impl LibLinearCrossValidator, Error>
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,