View source: R/fit_online_batch.R
Implementation of binary logistic regression with stochastic gradient descent for algorithm
1 2 3 4 5 6 7 8 9 10 11 |
formula |
Target variable ~ explanatory variables |
data |
dataframe required to perform the gradient descent |
mode |
Gradient descent mode (Online, Mini-Batch, Batch) |
batch_size |
size of the cutting to be carried out for the "mini-batch" mode |
ncores |
Number of cores required for parallelization |
coef |
Fixed number for creating the base vector |
max_iter |
Max number of iterations not to be exceeded |
learningrate |
Learning rate which determines the step of the descent |
tol |
Tolerance threshold for which convergence is said to be "finished" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.