[WIP] extracting learning rates to learning_rates.pxd and learning_rates.pyx

This pull request is for #3647
use train_test_split function.