Currently, the default metric is 'accuracy' which is only appropriate for classification. We should also add a default for regression, i.e., 'mean_squared_error'.
Note that the kNN model only evaluates on accuracy (or mean squared error), the user cannot supply a custom metric here.
Currently, the default metric is 'accuracy' which is only appropriate for classification. We should also add a default for regression, i.e., 'mean_squared_error'.
Note that the kNN model only evaluates on accuracy (or mean squared error), the user cannot supply a custom metric here.