Skip to content

Instance repetitions are not the same #63

@nikohansen

Description

@nikohansen

Related to a recent commit trying to fix the number of instance repetitions in a DataSet.

I did not run (yet) the profiling itself, but with the newest code, I get new warnings such as:

C:\Users\brockhof\AppData\Local\anaconda3\envs\coco-web\Lib\site-packages\cocopp\pproc.py:2160: UserWarning: Instance counts should be the same but they are not.
lcm(instance_counters) = lcm(Counter({1: 18, 2: 18, 3: 18, 4: 18, 5: 17})) = 306 set to 18
  warnings.warn("Instance counts should be the same but they are not.\n"
C:\Users\brockhof\AppData\Local\anaconda3\envs\coco-web\Lib\site-packages\cocopp\pproc.py:2160: UserWarning: Instance counts should be the same but they are not.
lcm(instance_counters) = lcm(Counter({1: 21, 2: 21, 3: 20, 4: 20, 5: 20})) = 420 set to 21
  warnings.warn("Instance counts should be the same but they are not.\n"
C:\Users\brockhof\AppData\Local\anaconda3\envs\coco-web\Lib\site-packages\cocopp\pproc.py:2160: UserWarning: Instance counts should be the same but they are not.
lcm(instance_counters) = lcm(Counter({1: 19, 2: 18, 3: 18, 4: 18, 5: 18})) = 342 set to 19
  warnings.warn("Instance counts should be the same but they are not.\n"
C:\Users\brockhof\AppData\Local\anaconda3\envs\coco-web\Lib\site-packages\cocopp\pproc.py:2160: UserWarning: Instance counts should be the same but they are not.
lcm(instance_counters) = lcm(Counter({1: 29, 2: 29, 3: 29, 4: 28, 5: 28})) = 812 set to 29
  warnings.warn("Instance counts should be the same but they are not.\n"

[overall about 20 of them - the last entry(s) being always the one with the smallest number of repetitions]

Originally posted by @brockho in #60

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions