n2d icon indicating copy to clipboard operation
n2d copied to clipboard

how to use n2d in other datasets?

Open db-beep opened this issue 2 years ago • 1 comments

Hi,author, I want to apply my own data set to n2d.data.shape[90,20000],sample:90,feature:20000,what should I do? thanks

db-beep avatar Apr 01 '22 07:04 db-beep

Hi

Please have a look at this file: https://github.com/rymc/n2d/blob/master/datasets.py

You can create a new function that loads and returns your data by doing something similar to the functions in datasets.py

def load_har() might be the most useful, since it loads a CSV from disk.

rymc avatar Apr 01 '22 12:04 rymc