Hi, I am adding few features to my LTR model which re-uses the same value for different features.
For example, I have features that compare different similarities for each document with the input text: "token1 token2 token3 token4" My features are - No of common terms - No of common terms / Term count in document - Term count in document - No of common terms - 4 - No of common terms - Boolean feature : Is no of common terms == 3 As you can see "No of common terms" is recomputed for each feature. Feature cache caches the values per feature and isn't helpful here. Is there any way where "No of common terms" is computed per document only once and can be shared for all features for that document ?