Description Format Methods Examples
LinearRegressions creates a streaming algorithm that can
calculate and update linear regression coefficients.
An R6Class generator object
new()Creates a new LinearRegression streamer object.
LinearRegression$new(X, y, fit_intercept = TRUE, method = "woodbury")
Xinitial design matrix
yinitial labels
fit_interceptif 'TRUE', add an intercept to the model
methodthe method used to update regression coefficients
The new LinearRegression (invisibly)
update()Updates the regression coefficient based on new data
LinearRegression$update(X, y)
Xnew design matrix
ynew labels
#' @return The updated LinearRegression (invisibly)
clone()The objects of this class are cloneable with this method.
LinearRegression$clone(deep = FALSE)
deepWhether to make a deep clone.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.