From randomness to learning