Machine Learning-Assisted Simulation And Design For Functional Nanomaterials