Skip to content

Conversation

sergiovaneg
Copy link

I noticed that there are many repeated methods across Dataset_ETT_hour/Dataset_ETT_minute and Dataset_Custom, so I did a quick refactor using inheritance and abstracting the differences as class methods. I also did some minor style fixes (removed redundant elif statements and split long lines).

A similar process can be applied to the Seg loaders, but I'd rather know if you're interested in merging this kind of contribution before going any further.

…split long lines + remove unnecessary elif after return.
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

Successfully merging this pull request may close these issues.

1 participant