Skip to main content

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.tar.gz (3.9 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-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file corrfeatred-0.0.3.tar.gz.

File metadata

  • Download URL: corrfeatred-0.0.3.tar.gz
  • Upload date:
  • Size: 3.9 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.tar.gz
Algorithm Hash digest
SHA256 23ca062d819c415c5d05702c7aa12f35090d0af0f4d99513f38bed2090e4cf7e
MD5 51afaf9b737b5078f8168b012f978ed4
BLAKE2b-256 a9838fa50022f1d7efb50a05a583345b7d22fb4acde742e574dde6fc006e85d6

See more details on using hashes here.

File details

Details for the file corrfeatred-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: corrfeatred-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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-py3-none-any.whl
Algorithm Hash digest
SHA256 6fa028eacc4003157a88df823d156ecd75a0f313ad7cd572046851d12d5a0fe8
MD5 d68cfdcc42487a8b99f2e1d9e25b3969
BLAKE2b-256 12ce2daec67d260dd933715a43408de545dd5b94095a83fd700410c215a84478

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.3.3

2 files

0.0.3.1

2 files

This release

0.0.3 This release

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