EpistasisLab / EpistasisLab/scikit-rebate

Refactor: Some functions refer to variables out of the scope of the function

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Jupyter Notebook
Stars
420
Forks
72
Avg merge
3m
Merged PRs (30d)
3

Description

For example, the [getDistance](https://landscape.io/github/EpistasisLab/scikit-rebate/17/modules/skrebate/relieff.py#L376) function refers to an `inst` variable that is defined outside of the scope of the function. We should refactor these functions to pass the `inst` variable as a function parameter as well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.