-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[methods.partition GridPartitioning] #134
Comments
The current GridPartition method is missing tests (commented in the corresponding tests). The problem is the usage of |
Post PR-#162: Any comments are welcomed:
|
@Ali-Tehrani, when putting together the from sklearn.datasets import make_blobs
from selector.methods.partition import GridPartition
# generate n_sample data in 2D feature space forming 3 clusters
X, labels = make_blobs(n_samples=500, n_features=2, centers=2, random_state=42)
selector = GridPartition(numb_bins_axis=5, grid_method="equisized_dependent")
selected = selector.select(X, size=50, labels=labels)
print(len(selected)) |
The current code coverage is Name Stmts Miss Cover Missing
-----------------------------------------------------------------------------
selector/methods/partition.py 201 4 98% 375, 407, 520, 619 |
To do:
The text was updated successfully, but these errors were encountered: