lr_find: Lr_find

Description Usage Arguments Value Examples

View source: R/stats.R

Description

Launch a mock training to find a good learning rate, return lr_min, lr_steep if 'suggestions' is TRUE

Usage

1
2
3
4
5
6
7
8
lr_find(
  object,
  start_lr = 1e-07,
  end_lr = 10,
  num_it = 100,
  stop_div = TRUE,
  ...
)

Arguments

object

learner

start_lr

starting learning rate

end_lr

end learning rate

num_it

number of iterations

stop_div

stop div or not

...

additional arguments to pass

Value

data frame

Examples

1
2
3
4
5
6
7
## Not run: 

model %>% lr_find()
model %>% plot_lr_find(dpi = 200)


## End(Not run)

fastai documentation built on Oct. 25, 2021, 5:08 p.m.