Learning Machine Algorithm