powered by
smap forecast
# S4 method for data.frame smap( data, column, target, lib = NULL, pred = NULL, E = 3, tau = 1, k = E + 1, dist.metric = "L1", dist.average = TRUE, theta = c(0, 1e-04, 3e-04, 0.001, 0.003, 0.01, 0.03, 0.1, 0.3, 0.5, 0.75, 1, 1.5, 2, 3, 4, 6, 8), threads = length(theta) )
A list
xmap
forecast performance
varname
name of target variable
method
method of cross mapping
observation data.
name of library variable.
name of target variable.
(optional) libraries indices.
(optional) predictions indices.
(optional) embedding dimensions.
(optional) step of time lags.
(optional) number of nearest neighbors used in prediction.
(optional) distance metric (L1: Manhattan, L2: Euclidean).
L1
L2
(optional) whether to average distance.
(optional) weighting parameter for distances.
(optional) number of threads to use.
Sugihara G. 1994. Nonlinear forecasting for the classification of natural time series. Philosophical Transactions: Physical Sciences and Engineering, 348 (1688):477-495.
sim = logistic_map(x = 0.4,y = 0.4,step = 45,beta_xy = 0.5,beta_yx = 0) smap(sim,"x","y",E = 10,k = 7,threads = 1)
Run the code above in your browser using DataLab