torch/optim — pull request #26 by nicholas-leonard (2014-10-10 19:41:57+00:00)
Title: Added support for missing targets to ConfusionMatrix

This PR adds support for missing targets (targets <= 0) to the ConfusionMatrix. Includes a unit test. Also fixed a typo in method `specificity`.