Negative Binomial EPCA
Name | NegativeBinomialEPCA |
---|---|
$G(\theta)$ | $-r \log(1 - e^\theta)$ |
$g(\theta)$ | $- \frac{r e^\theta}{1 - e^\theta}$ |
$\mu$ Space[1] | positive |
$\Theta$ Space | negative |
Appropriate Data | count |
$r$ | $r > 0$ (number of successes) |
Documentation
ExpFamilyPCA.NegativeBinomialEPCA
— FunctionNegativeBinomialEPCA(indim::Integer, outdim::Integer, r::Integer; options::Options = Options(A_init_value = -1, A_upper = -eps(), V_lower = eps()))
Negative binomial EPCA.
Arguments
indim::Integer
: The dimension of the input space.outdim::Integer
: The dimension of the latent (output) space.r::Integer
: A known parameter of the negative binomial distribution representing the number of successes (positive).options::Options
: Optional configuration parameters for the EPCA model.A_init_value
: Initial fill value for matrixA
(default:-1
).A_upper
: The upper bound for the matrixA
, default is-eps()
.V_lower
: The lower bound for the matrixV
, default iseps()
.
Try using options = NegativeDomain()
if you encounter domain errors when calling fit!
or compress
.
Returns
epca
: An instance of anEPCA
subtype.
- 1$\mu$ space refers to the space of valid regularization parameters, not to the expectation parameter space.