Optimization of matrix semirings for classification systems

- Gao, David, Kelarev, Andrei, Yearwood, John