[scikit-learn] [Scikit-learn-general] Gradient Descent

Daniel Sullivan dbsullivan23 at gmail.com
Wed Jun 29 06:33:33 EDT 2016


(Sent to wrong mailing list, sorry for duplication)

Hi Chaitanya,

Yes, Stochastic Gradient Descents algorithm logic is written in Cython. The
implementation can be viewed here:

https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/linear_model/sgd_fast.pyx

Hope that helps,

Danny

On Wed, Jun 29, 2016 at 10:31 AM, Chaitanya Prasad <chaitanya94 at gmail.com>
wrote:

> Hello
>
> I'm a student currently trying to benchmark a few Black box optimized
> algorithms against Gradient Descent Algorithms. It would be extremely
> helpful for me if someone could tell me whether the Stochastic Gradient
> Descent for scikit has been written in pure Python or whether it has been
> optmized using Cython in any manner.
>
> Thanks and Regards.
> Chaitanya
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20160629/c2587e95/attachment.html>


More information about the scikit-learn mailing list