Predict a list of examples.
List<double> predict(List<List<double>> X) => X.map(predictOne).toList();