cca_zoo.visualisation
.SeparateScoreScatterDisplay#
- class cca_zoo.visualisation.SeparateScoreScatterDisplay(scores, test_scores=None, labels=None, test_labels=None, show_corr=True, ax_labels=None, **kwargs)[source]#
Bases:
ScoreScatterDisplay
- classmethod from_estimator(model, train_views, test_views=None, labels=None, test_labels=None, ax_labels=None, show_corr=True, **kwargs)#
Create a ScoreDisplay instance from an estimator and data representations.
- Parameters:
model – The estimator model.
train_views (tuple) – Tuple of two arrays representing training data representations.
test_views (tuple, optional) – Tuple of two arrays representing test data representations. Default is None.
**kwargs – Additional keyword arguments passed to the ScoreDisplay constructor.
- Returns:
An instance of ScoreDisplay.
- Return type:
- classmethod from_scores(train_scores, test_scores=None, labels=None, test_labels=None, ax_labels=None, show_corr=True, **kwargs)#
Create a ScoreDisplay instance from precomputed scores.
- Parameters:
- Returns:
An instance of ScoreDisplay.
- Return type: