Skip to content

Stratification by 20 percentile bins for age prediction #104

@htwangtw

Description

@htwangtw

Currently, there's no mechanism to balance the age distribution across the train/test split. This can cause very imbalanced splits.

I will implement some stratification by age by putting subjects in 20 percentile bins: https://github.com/SIMEXP/prevent-ad-benchmark/blob/7edf8c4c4d07a0524768ab7879fbdcf14b201beb/src/preventad_benchmark/evaluation/pipelines.py#L53C5-L59

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