Skip to content

smogn.smoter creates labels outside of range #52

@saandeepa93

Description

@saandeepa93

Hello, Thank you for the amazing work.

My continuous labels are defined within a range [0, 100], where 0 represents lowest intensity and 100 represents highest intensity. There is a high class imbalance. When I apply smogn, the intensity values go beyond 100. Is there any way we can control this parameter?

all_smogn = smogn.smoter(
    data = all_feats[all_cols + ['label']],
    y = 'label',
    k = 9,       
    samp_method = 'extreme',  
    rel_thres = 0.60,         
    rel_method = 'auto',   
    rel_xtrm_type = 'both',
     rel_coef = 2.25         
)
Image

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