# sin_four_pi¶

hyppo.tools.sin_four_pi(n, p, noise=False, low=- 1, high=1)

Sine 4$$\pi$$ simulation.

Sine 4$$\pi$$ $$(X, Y) \in \mathbb{R}^p \times \mathbb{R}^p$$: $$U \sim \mathcal{U}(-1, 1)$$, $$V \sim \mathcal{N}(0, 1)^p$$, $$\theta = 4 \pi$$,

$\begin{split}X_{|d|} &= U + 0.02 p V_{|d|}\ \mathrm{for}\ d = 1, ..., p \\ Y &= \sin (\theta X) + \kappa \epsilon\end{split}$
Parameters
Returns

x,y (ndarray) -- Simulated data matrices. x and y have shapes (n, p) and (n, p)` where n is the number of samples and p is the number of dimensions.