cavis/docs/datavec/templates/normalization.md
2019-06-06 15:21:15 +03:00

15 lines
679 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: DataVec Normalization
short_title: Normalization
description: Preparing data in the right shape and range for learning.
category: DataVec
weight: 5
---
## Why normalize?
Neural networks work best when the data theyre fed is normalized, constrained to a range between -1 and 1. There are several reasons for that. One is that nets are trained using gradient descent, and their activation functions usually having an active range somewhere between -1 and 1. Even when using an activation function that doesnt saturate quickly, it is still good practice to constrain your values to this range to improve performance.
## Available preprocessors
{{autogenerated}}