encode: encode meter data load shapes according to an existing...

Description Usage Arguments Value

Description

given a matrix of raw meter data (one day per row), encodes each day into the closest fit culster

Usage

1
encode(rdata, dic, relerror = 0)

Arguments

rdata

raw data as a matrix with each row as a day of load data

dic

dictionary of cluster centers to use for encodings

relerror

whether to include relative error information in result

Value

encoding: closest shape code, daily sum, L2 err on normalized data, estimated threshold (relative L2 error)


ConvergenceDA/visdomloadshape documentation built on May 8, 2019, 8:34 a.m.