initOCPD: Initialize ocpd object

Description Usage Arguments Value Examples

View source: R/onlineCPD.R

Description

This function initializes the ocpd object. It returns an ocpd object with no data, but matrixes and vectors set up to begin adding to throughout the running of the algorithm.

Usage

1
2
initOCPD(dims, init_params = list(list(m = 0, k = 0.01, a = 0.01, b =
  1e-04)), initProb = c(gaussian_init))

Arguments

dims

The dimensions calculated from the first input data points.

init_params

The list of params required to initialize the underlying distribution model.

initProb

The chosen type of underlying distribution.

Value

oCPD object initialized with initialization settings.

Examples

1
empty_ocpd<- initOCPD(1) # initialize bject with 1 dimensions

ocp documentation built on May 2, 2019, 3:46 a.m.