Machine learner optimization of optical nanofiber-based dipole traps