error_cluster: Forecast error per cluster

Description Usage Arguments Value

Description

Calculates either the root mean squared error or the mean absolute error, per cluster.

Usage

1
error_cluster(x, clusters, type, return)

Arguments

x

object of class dockless_fcc.

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.

Value

Returns a vector of numeric values.


luukvdmeer/dockless documentation built on May 10, 2019, 1:24 p.m.