Fit the logistic regression model.
void fit( List<List<double>> X, List<int> y, { double lr = 0.1, int epochs = 500, }) { _weights = logisticRegressionFit(X, y, lr: lr, epochs: epochs); }