Function logistic_regression

Source
pub fn logistic_regression(
    x: &Tensor<f64>,
    y: &Tensor<f64>,
    w: &Tensor<f64>,
    l: f64,
) -> Tensor<f64>
Expand description

Same as gradient_descent, only without the logistic flag parameter. This function invokes gradient_descent with the logistic flag set to true.