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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file corrGraph-0.1.0a1.tar.gz
.
File metadata
- Download URL: corrGraph-0.1.0a1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe27fe7c19a5f09ea389e45ce08579c6080bdb24c3e130aad002df0d2ccaf63a |
|
MD5 | da1e037451717de0974c80d0030c1b72 |
|
BLAKE2b-256 | 69a4f3bf2b8a43806a34c5773691a01ea2f8454dc1e92885b02b9b37156ca0f1 |
File details
Details for the file corrGraph-0.1.0a1-py3-none-any.whl
.
File metadata
- Download URL: corrGraph-0.1.0a1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79c65d8293336cf5617a9aa47c1d9798ae5fe967f1504e729da2cb519b6209fc |
|
MD5 | 6bc36314be68c20a6f386d5f7f24ea36 |
|
BLAKE2b-256 | c4dc0d3e3446686fe5f303c93c0effdc4cd1c91122ea6d1da5658e0776488d53 |