Skip to contents

A function to generate weights from an exponential distribution.

Usage

.exp_kernel(ed, NN, rate)

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.

rate

a numeric value for rate of exponential distribution.

Value

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