Description Usage Arguments Details Value Examples
Run fixed point iteration.
1 |
data |
The CNV dataset (see |
par |
The parameter used for fixed point method. (see |
var |
The current value for all variables (see |
new |
The initial loss value |
max_iter |
The maximum number of iterations that the method is allowed to run |
This is the main part for WGD analysis. This function uses the fixed point method to iteratively calculate the optimal value for all variables and store the loss for each iteration in an array.
It runs until the improvement in loss is sufficiently small or the number of iteration reaches the max defined by user. It then returns a list, containing two objects: var, which is a list for the optimal value of the variables; loss_array, which is an array of loss values.
list of the optimal values for variables and the loss for each iteration
1 | FPI_result=FPI(wkdata,CNV_par,common_var,init_loss)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.