dgsrow_minibatch_parallle2: MiniBatch DGSRow Distributed

Description Usage Arguments Value Examples

View source: R/dgsrow_minibatch_parallele_bis.R

Description

MiniBatch DGSRow Distributed

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
dgsrow_minibatch_parallle2(
  X,
  y,
  theta,
  batch_size,
  ncores,
  leaning_rate,
  max_iter,
  tolerance
)

Arguments

X

is the matrix of our predictor variables with the bias column

y

is a target variable to predict

theta

is a vector containing the parameters or coefficient of the logistic to be estimated

batch_size

a parameter that specifies the number of observations in each mini-batch. It can significantly affect performance

ncores

parameters representing the number of cores to be used for parallel execution

leaning_rate

is the learning rate that controls the magnitude of the vector update.

max_iter

is the number of iterations.

tolerance

an additional parameter which specifies the minimum movement allowed for each iteration

Value

this function returns an instance containing:

Examples

1
2
3
4
5
## Not run: 
 dgsrow_minibatch_parallle_bis(X,y,theta)
 dgsrow_minibatch_parallle_bis(X,y,theta,ncores=3)

## End(Not run)

Beuleup93/dgrGlm documentation built on Dec. 17, 2021, 10:50 a.m.