It means you don't have enough data to run a meaningful test.

On Wed, Jul 11, 2012 at 9:54 AM, Mugoma Joseph Okomba <[email protected]> wrote:
> Hello,
>
> While running evaluate () on RecommenderIRStatsEvaluator I am getting the
> error:
>
> java.lang.IllegalArgumentException: Illegal nDCG: NaN
>
>
> Could this be caused by my data or the arguments to evaluate ()? This is
> how I call evaluate:
>
> IRStatistics stats = evaluator.evaluate(
>                         recommenderBuilder, null, model, null, 2,
>                         GenericRecommenderIRStatsEvaluator.CHOOSE_THRESHOLD,
>                         1.0);
>
> What could I be doing wrong?
>
> Thanks.
>
> Mugoma Joseph.
>
>
>

Reply via email to