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

pub struct SVC {
    // some fields omitted
}

Support Vector Classifier provided by the libsvm library.

Trait Implementations

impl Clone for SVC
[src]

fn clone(&self) -> SVC

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Decodable for SVC
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<SVC, __D::Error>

impl Encodable for SVC
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl<'a> SupervisedModel<&'a Array> for SVC
[src]

fn fit(&mut self, X: &Array, y: &Array) -> Result<(), &'static str>

fn decision_function(&self, X: &Array) -> Result<Array, &'static str>

fn predict(&self, X: &Array) -> Result<Array, &'static str>

impl<'a> SupervisedModel<&'a SparseRowArray> for SVC
[src]

fn fit(&mut self, X: &SparseRowArray, y: &Array) -> Result<(), &'static str>

fn decision_function(&self, X: &SparseRowArray) -> Result<Array, &'static str>

fn predict(&self, X: &SparseRowArray) -> Result<Array, &'static str>