문제


I am new to lucene (using lucene jar with a java university project) and I wanted to know,
Does lucene supply out of the box mean average precision?
Assuming it does the indexing and do supply some other functionalities (which are sadly
poorley documented...).
Any help will be appreciated.


Just to be clear -
It is for a university project BUT I am allowed to use ANY functionality lucene
supplys...

도움이 되었습니까?

해결책

You do have org.apache.lucene.benchmark.quality.QualityStats.getAvp() to get average precision.

This returns the Average precision for a single query when running a quality benchmark.

Getting the mean from the set of query should be fairly easy from this point.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top