ENH add a fast dok_matrix replacement
ENH use DOKMatrix for parameter vector in perceptron