get_regression_weights function

Generic function for returning the weights for each feature in the regression prediction at a node of a tree