private static SVM.DataSetObject ParseRow(string row) { var split = row.Split(',').ToArray(); var features = split .Take(split.Length - 1) .Select(Double.Parse) .ToArray(); return(new SVM.DataSetObject(features, split[^ 1][0]));