This happens because the value of adjusted_frac can become greater than 1 for the last split due to rounding issues. A potential solution would be to cap the value of adjusted_frac to 1
Example: Creating a GenericDataset with 11 examples and two splits (0.7 and 0.3) will throw this error
This error happened on a Google Colab notebook running the repository
This error occurs when creating a
GenericDataset
with splitsFile:
aequitas/src/aequitas/flow/datasets/generic.py
Line:183
This happens because the value of
adjusted_frac
can become greater than 1 for the last split due to rounding issues. A potential solution would be to cap the value ofadjusted_frac
to 1Example: Creating a
GenericDataset
with 11 examples and two splits (0.7 and 0.3) will throw this errorThis error happened on a Google Colab notebook running the repository