def main(self):
        """
            Main function that defines learner process
        """
        self.main_setup()
        while True:
            self.main_loop()

            Main function that defines learner process
        
surreal/learner/base.py