Skip to main content

A python module built using graph theory to analyse how attributes/features in a dataset correlate with each other

Project description

corrGraph

A python module built using graph theory to analyse how attributes/features in a dataset correlate with each other

Project Goal

The goal of this project is to provide a comprehensive tool for analyzing the correlation between different attributes or features within a dataset using graph theory. By leveraging the capabilities of graph theory, this module aims to offer insightful visualizations and metrics that can help in understanding the relationships and dependencies among various features.

Features

  • Graph Construction: Build graphs where nodes represent features and edges represent the correlation between them.
  • Correlation Metrics: Calculate various correlation metrics to quantify the strength and direction of relationships.
  • Visualization: Generate visual representations of the correlation graph to easily identify clusters and key relationships.
  • Usability: Simple and intuitive API for integrating with other data analysis workflows.

Usage

Refer to the corrGraph_usages file for detailed examples and use cases demonstrating how to utilize the module effectively.

Installation

To install the module, run:

pip install corrGraph

Getting Started

Here's a quick example to get you started:

from corrGraph import CorrGraph

# Load your dataset
data = pd.read_csv('some_data.csv')

# Initialize the CorrGraph object with a pandas correlation matrix
cg = CorrGraph(data.corr())

# Build the correlation graph
cg.get_graph()

# Visualize the graph
cg.visualize_graph()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

corrGraph-0.1.0a2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

corrGraph-0.1.0a2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file corrGraph-0.1.0a2.tar.gz.

File metadata

  • Download URL: corrGraph-0.1.0a2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for corrGraph-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 51d19fc3cab386309191d3874735b9790971e07cb64bf055e6d91710758b23d8
MD5 0e795b5d0385cc0a05e98c8278499559
BLAKE2b-256 d3a859d447af2eb029b223e6aee81eece6c6cc4f425d1e940ae5c07ffa56b5bd

See more details on using hashes here.

File details

Details for the file corrGraph-0.1.0a2-py3-none-any.whl.

File metadata

  • Download URL: corrGraph-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for corrGraph-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 69aa243f33cab002a382e744f46be4448295315ef22bc61ebc5e50a9fedc376c
MD5 893d185da28b047150d791bcdb1ed9fd
BLAKE2b-256 303c2cf994e958b47471bce120c45b06b950ee2b665bd96816c5e6e96f96b80d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page