CWeightedFeature Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]


This class contains a feature which is associated withtwo probabilistic weights: the probability that the feature is IMPORTANT in a given query context (positive or negative the probability that a feature is WANTED by the user More...

#include <../libInvertedFile/include/CWeightedFeature.h>

Public Members


Detailed Description

This class contains a feature which is associated withtwo probabilistic weights:

the probability that the feature is IMPORTANT in a given query context (positive or negative

the probability that a feature is WANTED by the user.


TID mFeatureID

the ID of the feature, as it would be used for queries

double mCountPresentPositive

the number of documents looked at which have

double mCountAbsentNegative

the probability that a feature is not wanted

double mAPrioriWeight

an a-priori weight (probably log of inverse frequency of feature)

CWeightedFeature(TID inFeatureID=0, double inProbabilities=1, double inAPrioriWeight=1)

a default constructor which just sets the starting values.


Documentation generated by muellerw@pc7170 on Fre Sep 29 14:43:08 CEST 2000
Kdoc