| create_tsc | R Documentation |
Time series classification algorithms are not widely available in R, so
Stickleback interfaces with a Python package (sktime). These helper functions
define time series classification models using the sktime package. Use
create_tsc for univariate bio-logging data and compose_tsc for
multivariate.
create_tsc(module, algorithm, params) compose_tsc(module, algorithm, params, columns)
module |
|
algorithm |
|
params |
|
columns |
|
[py:sktime.base.BaseEstimator] A time series classification model
(see Stickleback).
# Load sample data
c(lunge_sensors, lunge_events) %<-% load_lunges()
# Define a time series classifier
tsc <- compose_tsc(module = "interval_based",
algorithm = "SupervisedTimeSeriesForest",
params = list(n_estimators = 2L, random_state = 4321L),
columns = columns(lunge_sensors))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.