Class XgboostFeatureConverter


  • public class XgboostFeatureConverter
    extends com.yahoo.searchlib.rankingexpression.transform.ExpressionTransformer<RankProfileTransformContext>
    Replaces instances of the xgboost(model-path) pseudofeature with the native Vespa ranking expression implementing the same computation.
    Author:
    grace-lam, bratseth
    • Constructor Detail

      • XgboostFeatureConverter

        public XgboostFeatureConverter()
    • Method Detail

      • transform

        public com.yahoo.searchlib.rankingexpression.rule.ExpressionNode transform​(com.yahoo.searchlib.rankingexpression.rule.ExpressionNode node,
                                                                                   RankProfileTransformContext context)
        Specified by:
        transform in class com.yahoo.searchlib.rankingexpression.transform.ExpressionTransformer<RankProfileTransformContext>