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:
- resultspd.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:
- plotly.Figure
A Figure that contains the generated graphic.
- Raises:
- TypeError
if results is not a instance of pandas DataFrame.