ipex-llm icon indicating copy to clipboard operation
ipex-llm copied to clipboard

Chronos: xshards_dataset gendt_feature

Open smurf-1119 opened this issue 1 year ago • 0 comments

Description

add gendt_feature function to xshards_dataset

User API

shards_tmp = read_csv(file_name)
# interval = day
tsdata = XShardsTSDataset.from_xshards(shards_tmp, dt_col="datetime", target_col="value",
                                                   extra_feature_col=["extra feature"], id_col="id")
features = ['DAY',]
tsdata.gen_dt_feature(features=features)

smurf-1119 avatar Sep 13 '22 06:09 smurf-1119