fit_reg_log: ————-#

Description Usage Arguments Details Value Author(s)

View source: R/fit_pred_function.R

Description

1
2
                LogRegEDA
           Logistic Regression

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
fit_reg_log(
  formula,
  data,
  mode,
  batch_size,
  normalize = FALSE,
  learning_rate = 0.1,
  max_iter = 100,
  cores = 1,
  graph = FALSE,
  epsilon = 1e-05
)

Arguments

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.

Details

——————————————————-#

Fit function

Function that return a trained dataset using the gradient descent.

Value

object used to the predicted part

A fitted dataset

Author(s)

Frintz Elisa, NDiaye Deffa, Rives Alexandre


AlexandreRives/RegLog-EDA documentation built on Dec. 17, 2021, 7:50 a.m.