AI for Electoral Analytics