MLPClassifier.fromMap constructor

MLPClassifier.fromMap(
  1. Map params
)

Implementation

factory MLPClassifier.fromMap(Map params) {
  return MLPClassifier(
      List<int>.from(params["layers"]),
      List<List<dynamic>>.from(params["coefs_"]),
      List<List<dynamic>>.from(params["intercepts_"]),
      List<int>.from(params["classes"]),
      params["activation"],
      params["out_activation"]);
}