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)
| File | Size | Uploaded | |
|---|---|---|---|
| corrGraph-0.1.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|