EducationalTestingService / EducationalTestingService/skll

Add `inplace=False` argument to `FeatureSet.filter()`

Open
#477 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
561
Forks
69
PR merge metrics
No merged PRs in 30d

Description

It may be useful in some cases to filter the featureset and return a new filtered `FeatureSet` object, rather than filtering in place. For example, if the user has an existing `FeatureSet` and wants to do some analysis on a subset of the features, while leaving the original object alone.

In addition, this could be useful in addressing #454. If users want to perform filtering only on a subset of features, it would be convenient to filter the `FeatureSet` into separate objects, perform transformations on the features in one of these `FeaturesSets`, and then combine them.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.