Machine Learning Aided Inverse Design for Flattop Beam Fiber