Learn R Programming

YEAB (version 1.0.6)

unit_normalization: Min-max normalization (also feature rescaling)

Description

Min-max normalization (also feature rescaling)

Usage

unit_normalization(x)

Value

A numeric vector rescaled in the range \(x' \in [0, 1]\)

Arguments

x

numeric, vector of values to rescale

Examples

Run this code
x <- 5:100
x_scaled <- unit_normalization(x)
x_scaled

Run the code above in your browser using DataLab