Bandgap tuning strategy by cations and halide ions of lead halide perovskites learned from machine learning