powered by
Create the dataframe with event names and the related labels
createLabelMatrix(data, output_dir = NULL)
the dataframe, including event names and labels
data structure as the files in "UCR Time Series Classification Archive"
the file to save the label matrix data
# \donttest{ 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) # }
Run the code above in your browser using DataLab