change the default learning rate and data type