holgerteichgraeber / TimeSeriesClustering.jl

Julia implementation of unsupervised learning methods for time series datasets. It provides functionality for clustering and aggregating, detecting motifs, and quantifying similarity between time series datasets.
MIT License
82 stars 23 forks source link

Unable to implement example #95

Closed Deepakgthomas closed 5 years ago

Deepakgthomas commented 5 years ago

Hello,

I am trying to test the ClustForOpt.jl software, however when I try running a variation of the example provided in the readme -

using ClustForOpt ts_input_data = load_timeseries_data("DAM", "GER")

I get the following error: MethodError: no method matching load_timeseries_data(::String, ::String) Closest candidates are: load_timeseries_data(::Any; region, T, years, att) at /home/nvidia/.julia/packages/ClustForOpt/YNrmS/src/utils/load_data.jl:19

Stacktrace:

holgerteichgraeber commented 5 years ago

Thank you for testing ClustForOpt, and thank you for pointing that out! The example seems to be an old version of load_timeseries_data(). See workflow_introduction.jl for a working example.

I am currently rewriting the documentation and README, the documentation branch has the newest version. I hope it should be up in dev and master in 1-2 weeks. Have a look if you like to see hopefully improved descriptions of how to use ClustForOpt.jl. Feedback welcome anytime. In the documentation branch, there is also a new function to load_timeseries_data() where you just specify the data import by saying for example load_timeseries_data(:CEP_GER1).

Before the new documentation is deployed, you would have to read the actual files in the documentation branch, e.g. https://github.com/holgerteichgraeber/ClustForOpt.jl/blob/documentation/docs/src/load_data.md .

Deepakgthomas commented 5 years ago

Thank you for the quick information :)

holgerteichgraeber commented 5 years ago

@Deepakgthomas the new documentation and also the load_timeseries_data() function is now in the current stable version of ClustForOpt.