Description Usage Arguments Value
Calculates either the root mean squared error or the mean absolute error, per cluster.
1 | error_cluster(x, clusters, type, return)
|
x |
object of class |
clusters |
vector specifying to which cluster each test point belongs. |
type |
one of 'RMSE' or 'MAE'. |
return |
one of 'average', 'min' or 'max'. If 'average', the average error per cluster will be returned. If 'min', this will be the minimum error, and if 'max', this will be the maximum error. |
Returns a vector of numeric values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.