Embedded Machine Learning for Solar PV Power Regulation in a Remote Microgrid