Add getters and setters for learning rate in interface