gemclus.data
.multivariate_student_t¶
- gemclus.data.multivariate_student_t(n, loc, scale, df=10, random_state=None) ndarray [source]¶
Draws \(n\) samples from a multivariate Student-t distribution.
- Parameters:
- n: int
The number of samples to draw from the distribution.
- loc: ndarray of shape (d,)
The position of the distribution to sample from.
- scale: ndarray of shape (d,d)
Positive semi-definite scale matrix.
- df: int, default=10
Degrees of freedom of the distribution. Controls the spread of the samples.
- random_state: int, RandomState instance or None, default=None
Determines random number generation for dataset creation. Pass an int for reproducible output across multiple runs.
- Returns:
- X: ndarray of shape (n,d)
The samples drawn from the Student-t distribution.