Text this: Exploring the non-convexity in machine learning using quantum-inspired optimization