plot_correlation_matrix¶
- plot_correlation_matrix(ts: TSDataset, segments: Optional[List[str]] = None, method: str = 'pearson', figsize: Tuple[int, int] = (10, 10), **heatmap_kwargs)[source]¶
Plot pairwise correlation heatmap for selected segments.
- Parameters
ts (TSDataset) – TSDataset with timeseries data
segments (Optional[List[str]]) – Segments to use
method (str) –
Method of correlation:
pearson: standard correlation coefficient
kendall: Kendall Tau correlation coefficient
spearman: Spearman rank correlation
figsize (Tuple[int, int]) – size of the figure in inches