corrfeatred
reduce features using correlation matrix
Installation
pip install corrfeatred
Usage
from corrfeatred import reduce_features
correlation_matrix = #correlation matrix
feature_set = reduce_features(correlation_matrix, threshhold=0.8, policy='min')
# if you want another set of features for same correlation matrix, then use random seed to change the output.
different_feature_set = reduce_features(correlation_matrix, threshhold=0.8, policy='min', random_seed = 42)
Workflow
Currently there is only one function which takes correlation matrix and threshholds as input and then constructs a graph.
There after we find maximal cliques in the graph and our goal is to have at max one feature from each clique.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
corrfeatred-0.0.3.1.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file corrfeatred-0.0.3.1.tar.gz.
File metadata
- Download URL: corrfeatred-0.0.3.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efd73477fdb9e28f904918bb1ef255ac80d83193a746a472f0554aaae4fd0f6d
|
|
| MD5 |
a4e5ce362f53336cfb269423257b5bf1
|
|
| BLAKE2b-256 |
6ec1e6f339584f0355536fbd289df60a834139d85282858c8a8bd89cec7833aa
|
File details
Details for the file corrfeatred-0.0.3.1-py3-none-any.whl.
File metadata
- Download URL: corrfeatred-0.0.3.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
751348981549c5ba834133a4248d801c8df4ac2854146fadeb3e01996763378a
|
|
| MD5 |
f992868977fb564d88fa945ddd7eed27
|
|
| BLAKE2b-256 |
3b65bdca8d1d413cffc2629e19a2f31dd62b8335cacc0364833e4438e7ac0231
|