calculate_convergence {missForestPredict} | R Documentation |
Calculates convergence based on NMSE
Description
Calculates convergence based on NMSE. Details on the convergence criterion calculation are provided in the package vignettes.
Usage
calculate_convergence(err, weights)
Arguments
err |
dataframe containing OOB or apparent errors for each iteration. |
weights |
vector of weights in the same format as for the |
Value
A list with elements
converged |
boolean indicating if the algorithm has converged (TRUE) or not (FALSE) |
measure_old |
the total error of the previous iteration |
measure_new |
the total error of the last iteration |
[Package missForestPredict version 1.0 Index]