spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerald Loeffler <gerald.loeff...@googlemail.com>
Subject miniBatchFraction for LinearRegressionWithSGD
Date Fri, 07 Aug 2015 08:45:40 GMT
hi,

if new LinearRegressionWithSGD() uses a miniBatchFraction of 1.0,
doesn’t that make it a deterministic/classical gradient descent rather
than a SGD?

Specifically, miniBatchFraction=1.0 means the entire data set, i.e.
all rows. In the spirit of SGD, shouldn’t the default be the fraction
that results in exactly one row of the data set?

thank you
gerald

-- 
Gerald Loeffler
mailto:gerald.loeffler@googlemail.com
http://www.gerald-loeffler.net

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message