Returns the weights and bias after performing Perceptron algorithm on the input data points. The Perceptron is a binary classification algorithm that learns a linear separator. Labels should be either -1.0 or 1.0 for the two classes.
(
data_points: Vec<(Vec<f64>, f64)>,
max_iterations: usize,
learning_rate: f64,
)
source not stored for this graph (policy: none)