Package com.yahoo.search.ranking
Class RankProfilesEvaluator
java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.search.ranking.RankProfilesEvaluator
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
public class RankProfilesEvaluator
extends com.yahoo.component.AbstractComponent
proxy for model-evaluation components
- Author:
- arnej
-
Field Summary
Fields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable
-
Constructor Summary
ConstructorDescriptionRankProfilesEvaluator
(com.yahoo.vespa.config.search.RankProfilesConfig rankProfilesConfig, com.yahoo.vespa.config.search.core.RankingConstantsConfig constantsConfig, com.yahoo.vespa.config.search.core.RankingExpressionsConfig expressionsConfig, com.yahoo.vespa.config.search.core.OnnxModelsConfig onnxModelsConfig, com.yahoo.filedistribution.fileacquirer.FileAcquirer fileAcquirer) -
Method Summary
Modifier and TypeMethodDescriptionai.vespa.models.evaluation.FunctionEvaluator
evaluatorForFunction
(String rankProfile, String functionName) ai.vespa.models.evaluation.Model
modelForRankProfile
(String rankProfile) Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
-
Constructor Details
-
RankProfilesEvaluator
@Inject public RankProfilesEvaluator(com.yahoo.vespa.config.search.RankProfilesConfig rankProfilesConfig, com.yahoo.vespa.config.search.core.RankingConstantsConfig constantsConfig, com.yahoo.vespa.config.search.core.RankingExpressionsConfig expressionsConfig, com.yahoo.vespa.config.search.core.OnnxModelsConfig onnxModelsConfig, com.yahoo.filedistribution.fileacquirer.FileAcquirer fileAcquirer)
-
-
Method Details
-
modelForRankProfile
-
evaluatorForFunction
-