Struct rustlearn::svm::libsvm::svc::Hyperparameters [] [src]

pub struct Hyperparameters { /* fields omitted */ }

Hyperparameters for the SVC model.

Methods

impl Hyperparameters
[src]

[src]

[src]

Set the regularization parameter C; smaller values mean more regularization. Default is 1.0.

[src]

Set the degree of the polynomial kernel. No effect on other kernels. Default: 3.

[src]

Set the gamma parameter of the RBF kernel. Default is 1 / self.dim.

[src]

Set the coef0 parameter for the sigmoid kernel. Default is 0.0.

[src]

Set the libsvm cache size, in megabytes. Default is 100.0.

[src]

Build the SVC model. libsvm natively supports multiclass problems via one-vs-one (OvO) estimation, so no one-vs-rest wrapper is provided.

Trait Implementations

impl Clone for Hyperparameters
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Encodable for Hyperparameters
[src]

[src]

Serialize a value using an Encoder.

impl Decodable for Hyperparameters
[src]

[src]

Deserialize a value using a Decoder.

Auto Trait Implementations