Learn R Programming

FBMS (version 1.3)

nrelu: Negative ReLU Function

Description

Negative ReLU Function

Usage

nrelu(x)

Value

max(-x,0)

Arguments

x

The vector of values

Examples

Run this code
nrelu(2)

Run the code above in your browser using DataLab