avulanov/spark — pull request #1 by mengxr (2014-07-15 09:54:08+00:00)
Title: minor updates

@avulanov I made some minor updates:

1. change confusions to key by (label, prediction), which is more common
2. reuse `n`
3. organize imports