Description Usage Arguments Examples
This function predicts a value of Y based off a graddescent linear model
1 | predict_lm_graddescent(object, ...)
|
object |
the lm_graddescent object |
... |
the data frame used to fit the object |
1 2 3 4 5 6 | data("iris")
irisdf <- as.data.frame(iris)
irissamdf <- irisdf[sample(nrow(irisdf), 0.2*nrow(irisdf)), ]
irisform <- Sepal.Length ~.
obj <- lm_graddescent(irisform, iris, 0.0001, 100000)
predict_lm_graddescent(obj, irisdf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.