initOCPD {ocp}R Documentation

Initialize ocpd object

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

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

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

[Package ocp version 0.1.1 Index]