mslehre / MAS

Maximum Acyclic Subgraph (MAS) - Multiple Sequence Alignment (MSA) Game
1 stars 0 forks source link

sJt1 loss and gradient #88

Open MarioStanke opened 5 years ago

MarioStanke commented 5 years ago

Define the sum-of-squares loss we use for regression: Sum of squares of differences between predicted and samples values. Implement the part that tells PyTorch to do backwards, i.e. to compute the gradient of the loss wrt to the parameters.