Python Forum
why do most algorithm only take number between -1 and 1 as input or output?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why do most algorithm only take number between -1 and 1 as input or output?
#3
Well, numbers from -1 to 1 have certain properties that can be useful. For example, if you take any two numbers in the range -1 to 1 and multiply them by each other, the result will be between -1 and 1. That is not true for the range -2 to 2. If you're doing an iterative process this can be useful.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: why do most algorithm only take number between -1 and 1 as input or output? - by ichabod801 - Jan-22-2017, 08:24 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020