GitHub user yueguoguo opened a pull request:

    https://github.com/apache/spark/pull/22147

    Fixed NDCG formula and link

    ## What changes were proposed in this pull request?
    
    (Please fill in changes proposed in this fix)
    
    ## How was this patch tested?
    
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yueguoguo/spark master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22147.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22147
    
----
commit 3d9cf5f8eea5d4144b7bbb49ad12e32a5a150a52
Author: Zhang Le <yueguoguo@...>
Date:   2018-08-13T08:33:20Z

    [DOCS] Fixed error in MAP formula
    
    Average precision is calculated by number_of_hits_in_j_items / j, instead 
of one_hit / j.

commit 1cb2a163a2ee07103ea3304f23b9c4b142e94ce8
Author: Zhang Le <yueguoguo@...>
Date:   2018-08-20T03:03:32Z

    [DOCS] Changed to ln(j+2); updated wiki link

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to