fig: Plot function

Description Usage Arguments Details Author(s) Examples

View source: R/fig.R

Description

Plot the cost function

Usage

1
fig(iter, couts, cout)

Arguments

iter

number of iterations

couts

a vector with all points of cost function

cout

new point of cost function

Details

Plotting the cost function every 10 iterations

Author(s)

Sami Ait Tilat, Afaf Ben Haj, Marie Vachet

Examples

1
2
3
4
## Not run: 
fig(5,seq(1:5), 6)

## End(Not run)

samiaittilat/Logistic-Regression-from-scratch-in-R documentation built on Dec. 22, 2021, 10:11 p.m.