afe: Compute average feature entropy (AFE)

View source: R/textmodel.R

afeR 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


newsmap documentation built on Oct. 7, 2023, 5:07 p.m.

Related to afe in newsmap...