The festival which lasts ten days is in honor of Ganesha , the Hindu god of learning and knowledge . The festival which continues over ten days is in honor of Ganesha , the deva ( like guardian angel ) of learning and knowledge under the one supreme lord .