Builder: add type conversion to ensure learning rate is float