Algorithms are engines of pure logic. They process variables and historical data to produce a statistically probable outcome.