Re: [Scikit-learn-general] Cython public API

2012-03-05 Thread Peter Prettenhofer
2012/3/6 Olivier Grisel > 2012/3/6 Mathieu Blondel : > > Hello, > > > > This was probably obvious but I recently realized that Cython pyd > > files can be shared across projects. For example, one can do: > > > >from sklearn.linear_model.sgd_fast cimport WeightVector > > > > For it to work, on

Re: [Scikit-learn-general] Cython public API

2012-03-05 Thread Olivier Grisel
2012/3/6 Mathieu Blondel : > Hello, > > This was probably obvious but I recently realized that Cython pyd > files can be shared across projects. For example, one can do: > >    from sklearn.linear_model.sgd_fast cimport WeightVector > > For it to work, one currently has to compile the corresponding

[Scikit-learn-general] Cython public API

2012-03-05 Thread Mathieu Blondel
Hello, This was probably obvious but I recently realized that Cython pyd files can be shared across projects. For example, one can do: from sklearn.linear_model.sgd_fast cimport WeightVector For it to work, one currently has to compile the corresponding pyx file with the -I option to indicat