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

Is there a recommended way to pass additional information to the decoder? #1713

Open
grudloff opened this issue Nov 10, 2024 · 1 comment
Open
Labels
documentation Improvements or additions to documentation

Comments

@grudloff
Copy link

I am working with a use case where I have relevant information about each group (they are cliend_ids and I have info about location, age, etc). Is there a recommended way to pass this information to the decoder?

I think the most straightforward way would be to create a new class that inherits from the model I am using (RecurrentNetwork in my case), fetch this information based on the group, and pass it together with the rest to the network.

Any input would be greatly appreciated!

@grudloff grudloff added the documentation Improvements or additions to documentation label Nov 10, 2024
@grudloff
Copy link
Author

Ultimately, I just extended the dataset with the additional client information as the dataset is small and this was feasible. Then I passed these new features as known categorical/numerical values in the dataloader.

Having said that, I believe it would be nice to add a lazy loading option for this use case, as a normalized dataset is a common pattern.

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

No branches or pull requests

1 participant