afe {newsmap}R Documentation

Compute average feature entropy (AFE)

Description

AFE computes randomness of occurrences features in labelled documents.

Usage

afe(x, y, smooth = 1)

Arguments

x

a dfm for features

y

a dfm for labels

smooth

a numeric value for smoothing to include all the features


[Package newsmap version 0.8.3 Index]