MI

mapequation/infomap

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

492 stars 품질 59 트렌드 14GPL-3.0

mapequation/infomap은 [[T0]에서 가져온 에이전트 스킬 후보입니다.

개요

mapequation/infomap은 [[T0]에서 가져온 에이전트 스킬 후보입니다.

개요(AI 번역)

|ci|

인포맵

인포맵은 Map equation_를 기반으로 한 네트워크 클러스터링 알고리즘입니다. 이 저장소에는 네이티브 CLI, Python 패키지, R 패키지가 포함되어 있습니다. 자바스크립트 브라우저 워커와 Node.js 패키지, 도커 이미지, 튜토리얼 노트북과 출판된 파이썬 문서의 출처입니다.

사용자 가이드의 경우 mapequation.org/infomap/_부터 시작하세요. Infomap Python API는 파이썬 예제와 튜토리얼 노트북을 위해 사용하며, CHANGELOG.md 릴리스 노트를 위해 사용되었습니다.

기여, 보안 보고, 유지보수 워크플로우에 대해서는 자세한 내용은 참조 CONTRIBUTING.md, SECURITY.md, BUILD.md, ARCHITECTURE.md, 그리고 AGENTS.md_.

… |ci| 이미지:: https://github.com/mapequation/infomap/actions/workflows/ci.yml/badge.svg :목표: https://github.com/mapequation/infomap/actions/workflows/ci.yml :대체: CI

… _Map 방정식: https://www.mapequation.org/publications.html?utm_source=infomap&utm_medium=readme&utm_campaign=infomap#Rosvall-Axelsson-Bergstrom-2009-Map-equation … _mapequation.org/infomap/: https://www.mapequation.org/infomap/?utm_source=infomap&utm_medium=readme&utm_campaign=infomap … _CHANGELOG.md: https://github.com/mapequation/infomap/blob/master/CHANGELOG.md .

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

|ci|

Infomap

Infomap is a network clustering algorithm based on the Map equation_. This repository contains the native CLI, the Python package, the R package, the JavaScript browser worker and Node.js package, the Docker images, the tutorial notebooks, and the source for the published Python documentation.

Start with mapequation.org/infomap/_ for the user guide, the Infomap Python API_ for Python examples and tutorial notebooks, and CHANGELOG.md_ for release notes.

For contributing, security reporting, and maintainer workflows, see CONTRIBUTING.md, SECURITY.md, BUILD.md, ARCHITECTURE.md, and AGENTS.md_.

… |ci| image:: https://github.com/mapequation/infomap/actions/workflows/ci.yml/badge.svg :target: https://github.com/mapequation/infomap/actions/workflows/ci.yml :alt: CI

… _Map equation: https://www.mapequation.org/publications.html?utm_source=infomap&utm_medium=readme&utm_campaign=infomap#Rosvall-Axelsson-Bergstrom-2009-Map-equation … _mapequation.org/infomap/: https://www.mapequation.org/infomap/?utm_source=infomap&utm_medium=readme&utm_campaign=infomap … _CHANGELOG.md: https://github.com/mapequation/infomap/blob/master/CHANGELOG.md … _CONTRIBUTING.md: https://github.com/mapequation/infomap/blob/master/CONTRIBUTING.md … _SECURITY.md: https://github.com/mapequation/infomap/blob/master/SECURITY.md … _BUILD.md: https://github.com/mapequation/infomap/blob/master/BUILD.md … _ARCHITECTURE.md: https://github.com/mapequation/infomap/blob/master/ARCHITECTURE.md … _AGENTS.md: https://github.com/mapequation/infomap/blob/master/AGENTS.md

Install

Python package ^^^^^^^^^^^^^^

Install from PyPI_:

… code-block:: bash

pip install infomap

Install optional integrations for common Python graph and analysis workflows:

… code-block:: bash

pip install "infomap[networkx]"
pip install "infomap[igraph]"
pip install "infomap[pandas]"

Upgrades use the usual pip flow:

… code-block:: bash

pip install --upgrade infomap

The package also installs the infomap CLI entry point. The Python API reference lives at Infomap Python API_.

Quick start with Python:

… code-block:: python

import networkx as nx
import infomap

graph = nx.karate_club_graph()
result = infomap.run(graph, seed=123, num_trials=20)

print(result.num_top_modules, result.codelength)
print(result.modules())  # {node_id: module_id}

infomap.run accepts a NetworkX or igraph graph, a SciPy sparse matrix, a (2, E) edge index, a network file path, or an iterable of links. It returns an immutable Result. If you only need the communities in the graph’s own node labels, use infomap.find_communities(graph, seed=123, num_trials=20), which returns a NetworkX-style list of set\ s of node labels. Its igraph counterpart infomap.find_igraph_communities returns an igraph.VertexClustering.

GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add mapequation/infomap
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →