-
Notifications
You must be signed in to change notification settings - Fork 6
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
New Loss Format #301
Comments
@AlexWan0 could you explain what you need for weighting and your possible idea on where is the best place to put that information in the pipeline of DomiKnows programming? |
Please also refer to this poi program implementation with which we try to attach loss with learners. DomiKnowS/regr/program/model/pytorch.py Lines 275 to 332 in 651c7dd
|
For the Typenet example, there is a large class imbalance towards the negative classes, as there's only a couple positive cases out of ~1000 total classes per mention. |
Thanks for the hint. |
Hi all,
I think we need to implement a better loss function setting where each learner also receives the loss function attached to it. But apart from that we also need to be able to attach masking to the losses.
I think the best way to do so is to define mask property on the LabelReaderSensor. Let me know what you think?
The system should contain, masking, weight integration, different and custom loss functions, applying different loss functions during training, pertaining, pipelines, and so on.
The text was updated successfully, but these errors were encountered: