-
Notifications
You must be signed in to change notification settings - Fork 114
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
How to Use on_EWC/ DER++ to Handle Regression Tasks #48
Comments
Hi @JieDengsc , Mammoth is not really designed to handle regression but depending on your use case it may be easy to adapt. Since the task is regression I guess you probably want to define a domain-il task, since without labels you wouldn't know how to split into separate tasks. Taking as an example the "perm-mnist" dataset (in
Besides this, you will need to modify
If you don't want a "domain-il" setting and want to split data according to some other policy, I still suggest to define a "domain-il" dataset and splitting the data in the We plan in the future to introduce some regression tasks. Let me know if yours is publicly available so that we may take a look into it. |
Hi @loribonna , Thanks for your reply and suggestion, I will try it. In addition, for Please let me know if I've misunderstood anything. Thanks a lot. |
The question is a bit of a rabbit hole and I'm not an expert on this but the reason is because the Fisher information matrix is computed as the expectation over the model's prediction of the gradients squared, so you need to multiply them by I suggest you check out this paper and this discussion for more info. Edit: in your regression scenario while you could use the same code from EwC I don't think the math would check out. |
Specifically, I don't know how to modify the code. Because my task now is regression.
The text was updated successfully, but these errors were encountered: