createLabelMatrix {ddc}R Documentation

Create the dataframe with event names and the related labels

Description

Create the dataframe with event names and the related labels

Usage

createLabelMatrix(data, output_dir = NULL)

Arguments

data

data structure as the files in "UCR Time Series Classification Archive"

output_dir

the file to save the label matrix data

Value

the dataframe, including event names and labels

Examples


original_data <- data.frame("1"=c(1, 2, 1), "2"=c(5,6,7), 
   "3"=c(4, 5, 8), "4"=c(3, 1, 9))
label_matrix <- createLabelMatrix(data = original_data)


[Package ddc version 1.0.1 Index]