select_best function

Selecting best model according to weights