Skip to content

Suggested modification to apk function #20

@grfiv

Description

@grfiv

Note that in the event that the 'actual' vector contains no items, the following modification will prevent the return of NaN

if (length(actual) > 0) {
        score <- score / min(length(actual), k)
        }
    else {
        score <- score / k
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions