R/segTraj_neighborsbis.R
neighborsbis.Rd
neighbors tests whether neighbors of point k,P can be used to re-initialize the EM algorithm and to improve the log-likelihood.
neighborsbis(
kv.hull,
x,
L,
k,
param,
P,
lmin,
eps,
sameSigma = TRUE,
pureR = FALSE
)
convex hull of likelihood
the initial dataset
the likelihood
the points of interest
param outputs of segmentation
the number of class
minimal size of the segment to be implemented
eps
should segments have same variance ?
should algorithm use only R functions or benefit from Rcpp faster algorithm
smoothing likelihood