Skip to content

Error in executing KNN+DTW using HAR dataset - Pls help !!! #3

Open
@balajikalluri

Description

@balajikalluri

Hi Mark,

Glad to know you...am NOT a proficient python user however I'm quite familiar in writing and running few scripts in Ipython Notebook. I came across your k-NN+DTW classifier source code which is quite self-explanatory and well written on your Github page - appreciate that.

However, I seek your help in getting started running your demo script with HAR dataset first to gain understanding about implementation of some of your routines.

I encounter an error when reading the datasets at the following lines...

Loop through datasets

for x in x_train_file:
x_train.append([float(ts) for ts in x.split()])

Attached is the snapshot of my error in IPython terminal

image

Could you pls help me rectify & rerun this without error?

Thanks,
Bala

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions