Predicts the class of a new observation # Arguments `observation` - Feature vector to classify # Returns The predicted class (1.0 or -1.0) # Example ``` use ndarray::array; use the_algorithms_rust::machine_learning::{SVC, Kernel}; let observations = vec![array![0.0, 1.0], array![1.0, 0.0]]; let classes = array![1.0, -1.0]; let mut svc = SVC::new(Kernel::Linear, f64::INFINITY).unwrap(); svc.fit
(&self, observation: &Array1<f64>)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected