Isomap in Python