wefe.utils.plot_queries_results
- wefe.utils.plot_queries_results(results: DataFrame, by: str = 'query') Figure[source]
Plot the results obtained by a run_queries execution.
- Parameters:
results (pd.DataFrame) – A dataframe that contains the result of having executed run_queries with a set of queries and word embeddings.
by ({'query', 'model'}, optional) – The aggregation function , by default ‘query
- Returns:
A Figure that contains the generated graphic.
- Return type:
plotly.Figure
- Raises:
TypeError – if results is not a instance of pandas DataFrame.