exp_decay: Exponential Decay

View source: R/metrics.R

exp_decayR Documentation

Exponential Decay

Description

Compute the learning Rate for a given epoch using Exponential Decay.

Usage

exp_decay(lrmax = 0.005, mult = 0.1, epoch = NULL)

Arguments

lrmax

Upper limit of the range for the learning rate.

mult

Factor, by which the number of epochs until a restart is decreased after a new step.

epoch

Epoch, for which the learning rate shall be calculated.

Value

A numeric value.

Examples

exp_decay(lrmax = 0.005, mult = 0.1, epoch = 8) 


GenomeNet/deepG documentation built on Dec. 24, 2024, 12:11 p.m.