RandomForestClassifier.fromMap constructor

RandomForestClassifier.fromMap(
  1. Map<String, dynamic> params
)

Override from Classifier.

Implementation

factory RandomForestClassifier.fromMap(Map<String, dynamic> params) {
  return RandomForestClassifier(List<int>.from(params["classes_"]), params["dtrees"]);
}