Understanding the dark universe using modern ML techniques