Submitted by give_me_the_truth t3_yni223 in MachineLearning
Relevant-Number7428 t1_iv9mtl5 wrote
A possible solution would be to add a large penalty term to your loss function based on this constraint. While this does not guarantee that the predictions will satisfy the constraint over many training iteration fewer predictions will break it as the loss is minimized.
give_me_the_truth OP t1_iv9rwop wrote
Understood. Thanks for the idea 👍
Viewing a single comment thread. View all comments