imsl.regression.ResponseFormatRef¶
- class ResponseFormatRef(class_counts, frequencies=None)¶
Generate a class counts matrix from a matrix without reference counts.
Parameters: class_counts : (n_obs, n_classes-1) array_like
Array of n_obs observations containing the response class counts for all n_classes response categories excluding the reference category.
frequencies : (n_obs,) array_like, optional
Array containing the number of replications or trials for each of the observations.
Default: frequencies = 1
Attributes
class_counts_matrix Return the full matrix of response class counts.