Skip to main content

Publish to PyPI Tests

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.

workflow

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

corrfeatred-0.0.3.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for corrfeatred-0.0.3.1.tar.gz
Algorithm Hash digest
SHA256 efd73477fdb9e28f904918bb1ef255ac80d83193a746a472f0554aaae4fd0f6d
MD5 a4e5ce362f53336cfb269423257b5bf1
BLAKE2b-256 6ec1e6f339584f0355536fbd289df60a834139d85282858c8a8bd89cec7833aa

See more details on using hashes here.

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

Hashes for corrfeatred-0.0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 751348981549c5ba834133a4248d801c8df4ac2854146fadeb3e01996763378a
MD5 f992868977fb564d88fa945ddd7eed27
BLAKE2b-256 3b65bdca8d1d413cffc2629e19a2f31dd62b8335cacc0364833e4438e7ac0231

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.3.3

2 files

This release

0.0.3.1 This release

2 files

0.0.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page