Skip to main content

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()

Release files for corrGraph 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for corrGraph 0.1.0
File Size Uploaded
corrGraph-0.1.0.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for corrGraph 0.1.0
File Interpreter ABI Platform
corrGraph-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size:11.1 kB

Release files / corrGraph-0.1.0.tar.gz

Download URL corrGraph-0.1.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b11298433aba59400ccf4f1817553f9af43381b6382bf1e15870464da5e6f9a7
BLAKE2b-256 checksum
How to use checksums
34ccf4785d6a54fa5f924bbf17155171559412ee56b44155b79cab2f59633d29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.6

Release files / corrGraph-0.1.0-py3-none-any.whl

Download URL corrGraph-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc48dece65a7abe306a05a453e701589e19a559700538fa8c053e6c0058230d4
BLAKE2b-256 checksum
How to use checksums
68266d44fcd6d5f63593cac65b5b19c030bb0ff1ac321e504ace353347ed9259
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release 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