library(dplyr)
library(magrittr)
library(readr)
library(lazytrade)
# usind a sample data
data(price_dataset)
# price change as a label
create_labelled_data(x = price_dataset, n = 75, type = "regression")
# factors 'BU'/'BE' as a label
create_labelled_data(x = price_dataset, n = 75, type = "classification")
Run the code above in your browser using DataLab