Calculate base_score
based on input labels.
#8107
Merged
base_score
based on input labels.
#8107