Description Usage Arguments Value Examples
synthetic nonlinear data base on the graph. The data generation mechanism is y=scale(a1b1x^2+a2b2x^3+a3b3x^4+a4b4sin(x)+a5b5sin(x^2)).
1 | synthetic_data_nonlinear(G, sample_num, ratio = 1, return_noise = FALSE)
|
G |
An adjacency matrix. |
sample_num |
The number of samples |
ratio |
The noise ratio. It will grow or shrink the value of the noise. |
return_noise |
Whether return the noise of each nodes for further analysis. |
Return a synthetic data
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.