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.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: corrGraph-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 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.0.tar.gz
Algorithm Hash digest
SHA256 b11298433aba59400ccf4f1817553f9af43381b6382bf1e15870464da5e6f9a7
MD5 0c272ee7e33b8a9e08ddd6ce7ac65204
BLAKE2b-256 34ccf4785d6a54fa5f924bbf17155171559412ee56b44155b79cab2f59633d29

See more details on using hashes here.

File details

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

File metadata

  • Download URL: corrGraph-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc48dece65a7abe306a05a453e701589e19a559700538fa8c053e6c0058230d4
MD5 d979dad0098da8b65bd8a107ed9a51e3
BLAKE2b-256 68266d44fcd6d5f63593cac65b5b19c030bb0ff1ac321e504ace353347ed9259

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