Skip to content

Instantly share code, notes, and snippets.

@thigm85
Created July 15, 2022 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thigm85/3f7436094420ab4bf45d74bb99b52287 to your computer and use it in GitHub Desktop.
Save thigm85/3f7436094420ab4bf45d74bb99b52287 to your computer and use it in GitHub Desktop.
vespa_relevance = []
for idx, row in features.iterrows():
vespa_relevance.append(
compute_vespa_relevance(
id_value=idx,
query_value = row["query(value)"]
)
)
features["vespa_relevance"] = vespa_relevance
features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment