Hi All, In LTR for MultipleAdditiveTreeModel what is the purpose of adding NODE_SPLIT_SLACK to the threshold?
Reference: org.apache.solr.ltr.model.MultipleAdditiveTreesModel private static final float NODE_SPLIT_SLACK = 1E-6f; public void setThreshold(float threshold) { this.threshold = threshold + NODE_SPLIT_SLACK; } We have a feature which can return 0.0 or 1.0 And model with this tree: is_xyz_feature,threshold=0.99999994,left=0.0010180053,right=-0.0057609854 However when Solr actually scores it it is taking it as follows is_xyz_feature:1.0<= 1.000001, Go Left So all the time it goes to left which is incorrect. Thanks, Roopa