RogueWave

imsl.regression.ResponseFormatRef.class_counts_matrix

ResponseFormatRef.class_counts_matrix

Return the full matrix of response class counts.

Returns:

(n_obs, n_classes) ndarray

Array containing the response counts for all n_classes response categories and all n_obs observations. The counts for the reference category are located in the last column of the array.