Skip to content

Unnecessary double call to counts for association(::JointProbabilities{<:MIShannon}, x, y) #386

@kahaaga

Description

@kahaaga

In the file methods/information/definitions/mutual_informations/MIShannon.jl:

The cts = counts(est.discretization, x, y) line is completely unnecessary. The counts are automatically computed when calling probabilities on the line below. This extra line essentially doubles computation time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions