predict method

List<int> predict(
  1. List<List<double>> Q
)

Implementation

List<int> predict(List<List<double>> Q) => Q.map(predictOne).toList();