Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hydra configuration #3

Open
dgiunchi opened this issue May 13, 2024 · 1 comment
Open

hydra configuration #3

dgiunchi opened this issue May 13, 2024 · 1 comment

Comments

@dgiunchi
Copy link

I have some problem on the configuration of Hydra (totally new on that). From the default, in which way should I configure to make a run on one UCR dataset that I downloaded? What the width should be? Thank you!

@hadifawaz1999
Copy link
Member

Thank you for using our work ! did you download all of the ucr archive and mount the archive directory into the docker container as detailed in the Readme?
The dataset is loaded using this function so you can see the root path is /home/myuser/ucr_archive/ which is inside the docker container, by simply having the dataset folders inside this directory you can change the dataset variable in the hydra configuration file to choose the dataset.
The archive directory will contain a folder per dataset as such:
/home/myuser/ucr_archive/ArrowHead/ /home/myuser/ucr_archive/Coffee etc.

For the width parameter, when set to Null, the KAN model will simply a one layer network that takes as input the time series Catch22 features and outputs C neurons where C is the number of classes in the dataset. However if you set width to be a list of integers, each integer represent the number of neurons in the hidden layer. For instance if you set width=[2,3] and the input dimension is 22 (because of Catch22) and the dataset contains 5 classes, then the total architecture will look like this:

input layer dimension 22, hidden layer with 2 neurons, hidden layer with 3 neurons, output layer with 5 neurons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants