search for: tfidfweight3

Displaying 3 results from an estimated 3 matches for "tfidfweight3".

Did you mean: tfidfweight
2016 Jul 28
2
Weighting Schemes: Implementing Piv+ Normalization
...ew double parameters (s and delta) but it isn't turning out to be smooth because there's no method for unserialising strings in serialise-double.h Although, doing just const string normals = ptr++; or, const string normals = static_cast<const string>ptr++; fixes compile errors. But tfidfweight3 test case is failing with remote backends :- $ ./runtest gdb ./apitest -v tfidfweight3 Running test: tfidfweight3... SerialisationError: REMOTE:Bad encoded double: short mantissa (context: remote:prog(../bin/xapian-progsrv -t300000 .glass/db=apitest_simpledata) I'm wondering if I need to int...
2016 Jul 27
2
Weighting Schemes: Implementing Piv+ Normalization
Hi, I have added support for Piv normalization in Tf-Idf weighting scheme as a intermediate step to implementing the support for Piv+ normalization. All tests pass. But I'm running into some issues with Piv+ normalization. In the Piv+ formula , there are two parameters (s and delta) that control the weight assigned. I think the way I'm serialising and unserialising these parameters has
2016 Jul 29
2
Weighting Schemes: Implementing Piv+ Normalization
...tire > context of your changes.) > > const string normals = "something"; > > will work because there's a suitable constructor. `static_cast<>` > isn't appropriate here (again, providing I've inferred the type of > `ptr` correctly). > > > But tfidfweight3 test case is failing with remote backends :- > > > > $ ./runtest gdb ./apitest -v tfidfweight3 > > > > Running test: tfidfweight3... SerialisationError: REMOTE:Bad encoded > > double: short mantissa (context: remote:prog(../bin/xapian-progsrv > -t300000 > > .g...