Skip to content

Dynamic option for outliers #210

@Dooruk

Description

@Dooruk

I tested using different percentage values rather than %100 and this doesn't work. Could use some 🎶 refactoring 🎵

# Decide how many values to throw out on each end of the dataset
n = datavar.size
n_throw_out = ((100-percentage_capture) * n / 100) / 2
# The value needs to be an integer
n_throw_out = np.floor(n_throw_out).astype(int)

Metadata

Metadata

Assignees

Labels

bugSomething is not workingenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions