Module: FeatureSelection
- Defined in:
- lib/feature_selection/chi_squared.rb,
lib/feature_selection/base.rb,
lib/feature_selection/frequency_based.rb,
lib/feature_selection/mutual_information.rb
Overview
We represent each function in the form - n(t,c) n(1,1) = count documents that have term and belong to specified class n(0,1) = count documents that do not have term and belongs to specified class n(1,0) = count documents that have term but do not belong to specified class n(0,0) = count documents that do not contain term and do not belong to specfied class n = n(1,1) + n(0,1) + n(1,0) + n(0,0)
Defined Under Namespace
Classes: Base, ChiSquared, FrequencyBased, MutualInformation