pub fn params() -> SvmParams<F, T> {
        SvmParams {
            c: Some((F::one(), F::one())),
            nu: None,
            solver_params: SolverParams {
                eps: F::cast(1e-7),
                shrinking: false,
            },
            phantom: PhantomData,
            kernel: Kernel::params().method(KernelMethod::Linear),
            platt: PlattParams::default(),
        }
    }
/// Create hyper parameter set
///
/// This creates a `SvmParams` and sets it to the default values:
///  * C values of (1, 1)
///  * Eps of 1e-7
///  * No shrinking
///  * Linear kernel
Create hyper parameter set
This creates a `SvmParams` and sets it to the default values:
C values of (1, 1)
Eps of 1e-7
No shrinking
Linear kernel
Create hyper parameter set This creates a ` SvmParams ` and sets it to the default values : C values of ( 1 1 ) Eps of 1e - 7 No shrinking Linear kernel
pub fn params() -> SvmParams<F, T> {
        SvmParams {
            c: Some((F::one(), F::one())),
            nu: None,
            solver_params: SolverParams {
                eps: F::cast(1e-7),
                shrinking: false,
            },
            phantom: PhantomData,
            kernel: Kernel::params().method(KernelMethod::Linear),
            platt: PlattParams::default(),
        }
    }
pub fn params ( ) -> SvmParams < F , T > { SvmParams { c : Some ( ( F :: one ( ) , F :: one ( ) ) ) , nu : None , solver_params : SolverParams { eps : F :: cast ( 1e-7 ) , shrinking : false , } , phantom : PhantomData , kernel : Kernel :: params ( ) . method ( KernelMethod :: Linear ) , platt : PlattParams :: default ( ) , } }
Create hyper parameter set
This creates a `SvmParams` and sets it to the default values:
 C values of (1, 1)
 Eps of 1e-7
 No shrinking
 Linear kernel
Create hyper parameter set This creates a ` SvmParams ` and sets it to the default values : C values of ( 1 1 ) Eps of 1e - 7 No shrinking Linear kernel