Bayesian optimal control of the ultrashort circularly polarized attosecond pulse generation by two-color polarization gating