|
a |
|
b/man/early_stopping_time_cb.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/callbacks.R |
|
|
3 |
\name{early_stopping_time_cb} |
|
|
4 |
\alias{early_stopping_time_cb} |
|
|
5 |
\title{Stop training callback} |
|
|
6 |
\usage{ |
|
|
7 |
early_stopping_time_cb(stop_time = NULL) |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{stop_time}{Time in seconds after which to stop training.} |
|
|
11 |
} |
|
|
12 |
\value{ |
|
|
13 |
A Keras callback that stops training after specified time. |
|
|
14 |
} |
|
|
15 |
\description{ |
|
|
16 |
Stop training after specified time. |
|
|
17 |
} |
|
|
18 |
\examples{ |
|
|
19 |
\dontshow{if (reticulate::py_module_available("tensorflow")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} |
|
|
20 |
est <- early_stopping_time_cb(stop_time = 60) |
|
|
21 |
\dontshow{\}) # examplesIf} |
|
|
22 |
} |