nb_updated_scores_only: Function: Grid search to estimate predicted values and...

Description Usage Arguments Value

View source: R/functions.R

Description

Function: Grid search to estimate predicted values and estimate the values of h

Usage

1
nb_updated_scores_only(scores, classes, prior_g, scores_test, h = 1.06)

Arguments

scores

N x K matrix of scores in the training set

classes

Group labels vector of length N

prior_g

vector of prior probability of being in each group, sums up to 1

scores_test

N_test x K matrix of scores in the testing set

h

multiplier for kernel based density function

Value

predicted classes for the Bayes Classifier


acweisha/gFPCAClassif documentation built on Dec. 18, 2021, 10:23 p.m.