Skip to content

RBOext greater than one #4

@vpodpecan

Description

@vpodpecan

Looks like there are some issues with your compuation of RBO. For example:

a = [1, 2, 3]
b = [1]
p = 0.4
print(rbo(a, b, p))

returns

RBO(min=0.766238435648986, res=0.24568078217550698, ext=1.0453333333333334)

Here, RBOext is > 1 which is not correct.

Also, RBOmin crashes when p=1.0 because of math.log(1 - p)

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