Description Usage Arguments Details Value Author(s)
View source: R/fit_pred_function.R
1 2 | LogRegEDA
Logistic Regression
|
1 2 3 4 5 6 7 8 9 10 11 12 |
formula |
Enter the target and the feature. |
data |
the data frame. |
mode |
choose between : batch, mini-batch or online. |
batch_size |
the number of observations for the mini batch mode. |
normalize |
TRUE if you want to scale your features. It doesn't take the qualitative data. |
learning_rate |
used for the gradient descent. |
max_iter |
number of iterations. |
cores |
the number of cores to run the fit function faster. |
graph |
TRUE if you want to plot the cost list while the gradient descent is running. |
epsilon |
Tolerance's threshold of the cost list convergence. |
——————————————————-#
Fit function
Function that return a trained dataset using the gradient descent.
object used to the predicted part
A fitted dataset
Frintz Elisa, NDiaye Deffa, Rives Alexandre
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.