shap.datasets.corrgroups60
- shap.datasets.corrgroups60(n_points=1000)
Correlated Groups 60
A simulated dataset with tight correlations among distinct groups of features.
- Parameters:
- n_pointsint, optional
Number of data points to generate. Default is 1,000.
- Returns:
- Tuple of pandas DataFrame containing the features and a numpy array representing the target.
Examples
data, target = shap.datasets.corrgroups60()