KNeighborsClassifier.fromMap constructor
Implementation
factory KNeighborsClassifier.fromMap(Map<String, dynamic> params) {
return KNeighborsClassifier(
List<List<dynamic>>.from(params["_fit_X"]),
List<int>.from(params["_y"]),
params["n_neighbors"],
params["p"],
List<int>.from(params["classes_"]));
}