Commit Graph

5 Commits

Author SHA1 Message Date
Fabian Pedregosa 72a0c56310 Add support for np.float32 matrices in lars_path.
Some single-precision routines have had to be ported from cblas. Later
on we could probably remove most of them since new scipy has
triangular_solve function and cholesky_delete could be implemented in
Python.
2010-11-23 09:35:38 +01:00
Fabian Pedregosa ce9f68e3cf New implementation of LARS algorithm.
Small performance improvements (~10%) and it no longer uses custom dot
matrix function dot_over. Except for solve_triangular, all other
methods can operate on float32 arrays.

Thinkint out loud:

    The complexity of LARS is the same as an OLS, and looking at the
    benchmarks scikits/learn/glm/benchmarks/bench_glm.py it shows that
    we are faster than scipy's lstsq, so I don't think there is much
    more room for improvement. I'll benchmark against the R package
    and see how far we are.

In arrayfuncs: removed dot_over and added min_pos.
2010-11-13 00:58:03 +01:00
Fabian Pedregosa a79553e56f More on LARS performance: triangular solving and cholesky deletes.
seems to be working ...
2010-09-14 22:45:56 +02:00
Fabian Pedregosa c463cea6a6 more work in lars optimization. 2010-09-14 22:02:44 +02:00
Fabian Pedregosa 6053027f7b LARS refactoring speedup Work In Progress!!! 2010-09-14 18:15:37 +02:00