logarithmic¶
- 
hyppo.tools.logarithmic(n, p, noise=False)¶
- Logarithmic simulation. - Logarithmic \((X, Y) \in \mathbb{R}^p \times \mathbb{R}^p\): \(\epsilon \sim \mathcal{N}(0, I_p)\), \[\begin{split}X &\sim \mathcal{N}(0, I_p) \\ Y_{|d|} &= 2 \log_2 (|X_{|d|}|) + 3 \kappa \epsilon_{|d|} \ \mathrm{for}\ d = 1, ..., p\end{split}\]- Parameters
- Returns
- x,y ( - ndarray) -- Simulated data matrices.- x` and ``yhave shapes- (n, p)and- (n, p)where n is the number of samples and p is the number of dimensions.