Skip to contents

A function to generate weights from a Gaussian distribution.

Usage

.gauss_kernel(ed, NN, sd)

Arguments

ed

a numeric value for entropy of the neighbourhood.

NN

an integer for the number of neighbourhood cells the function should consider. The value must be greater than or equal to 1. Default value is 30.

sd

a numeric value for standard deviation of Gaussian distribution.

Value

a matrix where each column contains weights related to specific entropy values.