Commit Graph

3 Commits

Author SHA1 Message Date
Lars Buitinck 85922d3a33 ENH use threads instead of multiprocessing in SGD 2014-03-19 23:57:05 +01:00
Lars Buitinck b8e1a6c357 ENH SGD Cython improvements
* nogil declarations where possible (but no with nogil blocks, since the
  performance benefit of those is not clear)
* use BLAS where appropriate
* replaced DOUBLE by double, INTEGER and int32 by int/np.intc, since that's
  the type used by scipy.sparse
* explicit checks that dataset dims don't exceed INT_MAX
* replaced an np.all by an explicit loop (npymath library for C99 isfinite)
2013-09-07 18:24:36 +02:00
Peter Prettenhofer 7fcb2dbb3e moved WeightVector und SequentialDataset into seperate modules. 2012-03-07 20:09:05 +01:00