src.plots.create_chart¶
Creates a bar chart comparing the performance of different models on a given dataset.
This script reads a set of JSON files from the ‘results’ directory, each representing the performance of a model. It then extracts a specified metric (e.g., ‘MAE’, ‘MSE’) and generates a bar chart to visualize and compare the models’ performance. The resulting chart is saved in the ‘figures’ directory.
Functions
|
Creates and saves a grouped bar chart for a given metric. |
|
Loads all JSON results from the results directory into a pandas DataFrame. |