Skip to content

Commit

Permalink
Fix the crazy Kullback-Leibler Divergeance stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
crahal committed Jun 23, 2024
1 parent d00b3a0 commit b97259d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/robustipy/figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def plot_results(results_object,
sns.despine(ax=ax1)
ax1.set_ylabel('Coefficient Estimates', fontsize=13)
ax1.set_xlabel('Ordered Specifications', fontsize=13)
ax5.set_xlabel('Kullback-Leibler Divergence', fontsize=13)
ax5.set_xlabel(results_object.name_av_k_metric.title(), fontsize=13)
ax2.set_ylabel(f'{ic.upper()} curve', fontsize=13)
ax2.set_xlabel('Ordered Specifications', fontsize=13)
ax3.set_ylabel('Density', fontsize=13)
Expand Down
2 changes: 1 addition & 1 deletion src/robustipy/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class OLSResult(Protoresult):
aic_array (list): List of AIC values for each specification.
bic_array (list): List of BIC values for each specification.
hqic_array (list): List of HQIC values for each specification.
av_k_metric_array (list, optional): List of average Kullback-Leibler divergence metrics.
av_k_metric_array (list, optional): List of average metrics.
Methods:
save(filename):
Expand Down

0 comments on commit b97259d

Please sign in to comment.