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 May 29, 2024, 7:09 a.m.

Related to afe in newsmap...