#2590: Implemented an weighted average to ease weights manipulation in regression ensembles and corrected locking in the the weights view.