This PR contains two improvements for the LTR feature in Eland.
Feature logger now extract NaN when a query does not match a query. It is consistent with what is done in Elasticsearch.
A specific method (import_ltr_model) has been added to import LTR model with support for a ltr_model_config object of class LTRModelConfig. The inference_config params is removed from the import_model method
This PR contains two improvements for the LTR feature in Eland.
Feature logger now extract
NaN
when a query does not match a query. It is consistent with what is done in Elasticsearch.A specific method (
import_ltr_model
) has been added to import LTR model with support for altr_model_config
object of classLTRModelConfig
. Theinference_config
params is removed from theimport_model
methodExample:
The previous version was more difficult to use (and could lead to inconsistencies):