Add more configurable learn methods for ML plugin