Fits the SVC with training data # Arguments `observations` - Training feature vectors `classes` - Class labels (should be 1.0 or -1.0) # Errors Returns an error if data is empty or dimensions don't match # 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 mu
(
&mut self,
observations: &[Array1<f64>],
classes: &Array1<f64>,
)
source not stored for this graph (policy: none)