Skip to content

Can I pass a feature vector as a param ?  #432

Open
@msayan-vcbs

Description

@msayan-vcbs

Hi, so I have a desire to use this plugin in an unconventional way. I want to use a pre-trained xgboost model and provide a one hot encoded DenseFeatureVector as a query param which will be used in rescoring all my results, rather than use the FeatureSet framework paradigm.

Is this possible ?

Basically something like:

"rescore": {
    "window_size": 1000,
    "query": {
        "rescore_query": {
            "sltr": {
                "params": {
                    "keywords": "rambo"
                },
                "model": "my_model",
                "active_features": [0.1, 0.2, 0.4, 0.2, ... etc]
            }
        }
    }
}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions