calculate_convergence: Calculates convergence based on NMSE

View source: R/calculate_convergence.R

calculate_convergenceR 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 missForest function.

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


missForestPredict documentation built on May 29, 2024, 7:26 a.m.