|
a |
|
b/man/stepdecay.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/metrics.R |
|
|
3 |
\name{stepdecay} |
|
|
4 |
\alias{stepdecay} |
|
|
5 |
\title{Step Decay} |
|
|
6 |
\usage{ |
|
|
7 |
stepdecay(lrmax = 0.005, newstep = 50, mult = 0.7, epoch = NULL) |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{lrmax}{Upper limit of the range for the learning rate.} |
|
|
11 |
|
|
|
12 |
\item{newstep}{Number of epochs until the learning rate is reduced.} |
|
|
13 |
|
|
|
14 |
\item{mult}{Factor, by which the number of epochs until a restart is decreased after a new step.} |
|
|
15 |
|
|
|
16 |
\item{epoch}{Epoch, for which the learning rate shall be calculated.} |
|
|
17 |
} |
|
|
18 |
\value{ |
|
|
19 |
A numeric value. |
|
|
20 |
} |
|
|
21 |
\description{ |
|
|
22 |
Compute the learning Rate for a given epoch using Step Decay. |
|
|
23 |
} |
|
|
24 |
\examples{ |
|
|
25 |
stepdecay(lrmax = 0.005, newstep = 50, |
|
|
26 |
mult = 0.7, epoch = 3) |
|
|
27 |
|
|
|
28 |
} |