help-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-GIFT] Histograms and Normalization


From: Sailesh Suvarna
Subject: [help-GIFT] Histograms and Normalization
Date: Wed, 04 Jun 2003 16:05:44 +1000

Hi all,
Thanks for the answers to my last question.

I have some more...........

I am using just 4 images in my collection and am using only feature (1) - 
Colour Histograms.
In  CWeightingFunction::subApply if I change-

lRetVal=copysign(min(inDocumentFrequency,fabs(getTermFrequency())),getTermFrequency());

to  

lRetVal=fabs((inDocumentFrequency-getTermFrequency()));
to find out the difference rather than similarity 

I get the following results: 
Similarity: inf
Similarity: nan
Similarity: inf
Similarity: inf

Also the lQueryScore always computes to 0
  The following is what I get 
  
 Pruning used!
 Pruning: I will evaluate 39 Features.

 [keepScorePruning 0 - before adjusting - running total: 0.000000
 In CWeightingFunction(C-IDF)-returning 0.000000
 I got:subApply(C-IDF) return value: 0.000000
 [keepScorePruning 0 -  after adjusting - running total: 0.000000

 In CWeightingFunction(C-IDF)-returning 0.000000
 I got:subApply(C-IDF) return value: 0.000000
 [keepScorePruning 1 - before adjusting - running total: 0.000000
 In CWeightingFunction(C-IDF)-returning 0.000000
 I got:subApply(C-IDF) return value: 0.000000
 [keepScorePruning 1 -  after adjusting - running total: 0.000000

In CWeightingFunction(C-IDF)-returning 0.000000
I got:subApply(C-IDF) return value: 0.000000
[keepScorePruning 2 - before adjusting - running total: 0.000000
In CWeightingFunction(C-IDF)-returning 0.000000
I got:subApply(C-IDF) return value: 0.000000
[keepScorePruning 2 -  after adjusting - running total: 0.000000
        <snip>

In CWeightingFunction(C-IDF)-returning 0.011765
I got:subApply(C-IDF) return value: 0.011765
In CWeightingFunction(C-IDF)-returning 0.000000
I got:subApply(C-IDF) return value: 0.000000
In CWeightingFunction(C-IDF)-returning 0.011765
I got:subApply(C-IDF) return value: 0.011765
In CWeightingFunction(C-IDF)-returning 0.031373
I got:subApply(C-IDF) return value: 0.031373
[keepScorePruning 38 - before adjusting - running total: 0.000000
In CWeightingFunction(C-IDF)-returning 0.000000
I got:subApply(C-IDF) return value: 0.000000
[keepScorePruning 38 -  after adjusting - running total: 0.000000

In CWeightingFunction(C-IDF)-returning 0.003922
I got:subApply(C-IDF) return value: 0.003922
In CWeightingFunction(C-IDF)-returning 0.000000
I got:subApply(C-IDF) return value: 0.000000
In CWeightingFunction(C-IDF)-returning 0.007843
I got:subApply(C-IDF) return value: 0.007843
In CWeightingFunction(C-IDF)-returning 0.019608
I got:subApply(C-IDF) return value: 0.019608
Out of keepScorePruning: 0.000000[Timestamp3.78]
.query
presort
[Timestamp3.78]
[Timestamp3.78]
postsort
Assembling a query result tree
from a result of size4

Why is the above progressively done 4 times?

Where is the normalization taking place and what factor is used? Is it possible 
to just turn off the normalization for experimenting.

Awaiting your reply,

Sailesh






reply via email to

[Prev in Thread] Current Thread [Next in Thread]