scikit-learn/sklearn/src/cblas
Lars Buitinck 3bc3d9f5ea ENH pairwise L1 distances for sparse matrices
Simple, O(n_features) temp space algorithm: densify row by row, then
subtract and compute L1 norm.

Added BLAS support code (cblas_dasum) to speed this up by a factor of
two on x86-64 w/ GCC and ATLAS for pair of 93% sparse matrices of shape
1000*3000. That's an order of magnitude faster than the dense version.

Also cleaned up chi2 kernel code while I was at it and added a nogil decl.
2014-03-24 10:38:01 +01:00
..
ATL_drefasum.c ENH pairwise L1 distances for sparse matrices 2014-03-24 10:38:01 +01:00
ATL_drefcopy.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
ATL_drefgemv.c BUILD: add gemv cblas routine 2012-08-07 15:51:13 +02:00
ATL_drefgemvN.c BUILD: add gemv cblas routine 2012-08-07 15:51:13 +02:00
ATL_drefgemvT.c BUILD: add gemv cblas routine 2012-08-07 15:51:13 +02:00
ATL_drefger.c BUILD: add dger cblas function 2012-08-07 15:51:13 +02:00
ATL_drefrot.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
ATL_drefrotg.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
ATL_srefcopy.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
ATL_srefrot.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
ATL_srefrotg.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
README.txt DOC/MAINT: clarify cblas/README.txt 2014-03-18 23:07:14 +01:00
atlas_aux.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_dsysinfo.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_enum.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_level1.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_level2.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_misc.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_refalias1.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_refalias2.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_reflevel1.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_reflevel2.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_reflvl2.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_refmisc.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_ssysinfo.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
atlas_type.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas.h Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_dasum.c ENH pairwise L1 distances for sparse matrices 2014-03-24 10:38:01 +01:00
cblas_daxpy.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_dcopy.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_ddot.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_dgemv.c BUILD: add gemv cblas routine 2012-08-07 15:51:13 +02:00
cblas_dger.c BUILD: add dger cblas function 2012-08-07 15:51:13 +02:00
cblas_dnrm2.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_drot.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_drotg.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_dscal.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_errprn.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_scopy.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_srot.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_srotg.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
cblas_xerbla.c Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00

README.txt

This is a stripped-down version of CBLAS (C-interface to the Basic Linear
Algebra Subroutines), containing only those parts used by scikit-learn's
C/C++/Cython extensions. It is used when no CBLAS implementation is available
at build time.

Sources here are taken from the reference implementation in ATLAS. To add new
algorithms, the only thing that should be done is to copy the reference
implementation from ${ATLAS}/src/blas/reference/level* into this directory.

Header files are taken from ${ATLAS}/include, the only change being the
inclusion of "atlas_refalias*.h" into its respective "atlas_level*.h" file.