func_iterative_logreg_update: Iterative updating of prior probabilities in logistic...

View source: R/func_iterative_logreg_update.R

func_iterative_logreg_updateR Documentation

Iterative updating of prior probabilities in logistic regression estimator

Description

Internal, auxiliary functions

Usage

func_iterative_logreg_update(prob_lr, p0, cell_id, signal_levels, cc_maxit)

Arguments

prob_lr

is a matrix of class probabilities for each observation

p0

is a numeric vector of prior probabilities used for logistic regression estimation

cell_id

a list of logical vectors indicating class labels of each observation

signal_levels

is a vector of class labels

cc_maxit

is the number of iteration of procedure to be carried out

Value

A list with components

  1. p_opt - a numeric vectors with estimated optimal input probabilities

  2. MI_opt - a numerical value of estimated channel capacity


SLEMI documentation built on Nov. 20, 2023, 1:06 a.m.