time-series-machine-learning / tsml-java

Java time series machine learning tools in a Weka compatible toolkit
GNU General Public License v3.0
158 stars 120 forks source link

DatasetLoading sample methods #501

Open TonyBagnall opened 3 years ago

TonyBagnall commented 3 years ago

the DatasetLoading methods sampleX seem to fail image

TonyBagnall commented 3 years ago

they also call a depreciated method for multivariate image

james-large commented 3 years ago

Seems fine for me, code snippet?

image

And afaik that's the most up to date mv resampling function for weka instances. Iirc, the one being used is correct and the one without _old was funky/broken in some way. There's the tsinstances resampler of course but that'll wait for the wholesale overhaul

TonyBagnall commented 3 years ago
    Instances[] gp = DatasetLoading.sampleGunPoint(0);

file path problem maybe, too long? image

james-large commented 3 years ago

True maybe, 256 char limit iirc on windows. Shouldn't be any permission problems with that location, right?

TonyBagnall commented 3 years ago

hmm, not the string lengths, this works. Seems to be looking for GunPoint.arff not GunPoint_TRAIN.arff? image

james-large commented 3 years ago

It goes through the cases describe in the jdoc attached to sampledataset, including _TRAIN/TEST, think you're gonna have to just go through with the debugger and see exactly what it's trying to load etc, can't do it this end since I don't get the error

TonyBagnall commented 3 years ago

its not high priority, I was just trying to do something easy for ML coursework, its probably one drive, its fecking with me today