-
LinRegis exact regression. -
Everything
StatLearndoes is approximate. -
LinRegBuilderis a more general version ofLinReg. -
StatLearnhas many algorithm options:SGD,ADAGRAD,ADAM,ADAMAX,RMSPROP,MSPI, … -
StatLearnwill be faster,LinRegwill be more correct. For linear regression I would useLinReg. For logistic regression your only option (in OnlineStats) isStatLearn(p, LogitMarginLoss()). -
You can repeatedly
fit!an OnlineStats object on new batches of data, but OnlineStats is agnostic on how you get your data into Julia. It doesn’t have helpers for streaming a CSV file. -
If you want to iterate through the rows of a CSV file one by one without loading it into memory, see
CSV.File.
9 Likes