help-gift
[Top][All Lists]
Advanced

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

Re: [help-GIFT] the algorithm config


From: higo ic
Subject: Re: [help-GIFT] the algorithm config
Date: Mon, 20 Apr 2009 20:20:52 +0800

Hi Wolfgang

i tried to your Groovy code and i failed to set the algorithm config

i set def configureMessage = builder.mrml("session-id" : session){ algorithm("algorithm-id" : "adefault", "collection-id" : collectionIds[1], "algorithm-type" : "adefault", "cui-weighting-function" : "ClassicalIDF", // change here for features "cui-block-texture-histogram" : "no", "cui-block-texture-blocks" : "yes", "cui-block-color-histogram" : "yes", "cui-block-color-blocks" : "yes",

Only cui-block-texture-histogram is no ,and I replace the queryImageUrl(randomUrls[0]) with a specific image by giving the URL ,
but the result is same with the default config ( all no ),  i try to set 2 "yes" , the result didn't change too.......
Maybe i don't know how to change the algorithm config, Please correct me


Log:
adefault found, I will now configure the session Sent message<?xml version="1.0" encoding="UTF-8" standalone="no"?><mrml session-id='9'> <algorithm algorithm-id='adefault' collection-id='c-58-58-8-5-3-109-0-94-0' algorithm-type='adefault' cui-weighting-function='ClassicalIDF' 
cui-block-texture-histogram='no' cui-block-texture-blocks='yes' cui-block-color-histogram='yes' cui-block-color-blocks='yes' cui-pr-percentage-of-features='70' /> <query-step algorithm-id='adefault' query-type='at-random' result-size='20' /> </mrml><?xml version="1.0" encoding="UTF-8" standalone="no"?><mrml session-id='9'> <query-step algorithm-id='adefault' result-size='20'> <user-relevance-element-list> <user-relevance-element user-relevance='1' image-location='http://202.114.66.41/image/cimages/134156.jpg' /> </user-relevance-element-list> </query-step> </mrml> 1.000000 : /134156.jpg 0.674991 : /109939.jpg 0.661970 : /236255.gif ........................

reply via email to

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