unique_info: unique_info

View source: R/unique_info.R

unique_infoR Documentation

unique_info

Description

Internal function

Usage

unique_info(correct)

Arguments

correct

Index of correct predictions of hidden variable assignment obtained by cross-referencing max_indexes of p_y_given_x_3d and max_indices of log_marg_x_4d for each possible dim_hidden. It indicates whether the estimate based on x_i for y_j is correct for sample l.

Value

Returns a vector of length n_hidden the represents an estimate of fraction of unique info in each n_hidden


jpkrooney/rcorex documentation built on July 25, 2022, 1:37 a.m.