Small angle scattering of diblock copolymers profiled by machine learning