Compétences torch-geometric
🔗

torch-geometric

Risque faible 📁 Accès au système de fichiers🌐 Accès réseau

PyTorch Geometric으로 그래프 신경망 구축하기

Également disponible depuis: K-Dense-AI

그래프 신경망은 소셜 네트워크와 분자와 같은 불규칙한 데이터 구조로부터 학습을 가능하게 합니다. PyTorch Geometric은 최소한의 보일러플레이트 코드로 GNN을 구축, 훈련 및 평가하기 위한 포괄적인 툴킷을 제공합니다.

Prend en charge: Claude Codex Code(CC)
🥉 73 Bronze
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez à utiliser

Tester

Utilisation de "torch-geometric". Cora 데이터셋에서 노드 분류를 위한 GCN 모델 구축

Résultat attendu:

  • 2개의 합성곱 레이어로 GCN 생성 (1433 입력 특성 → 16 은닉층 → 7 클래스)
  • Cora 데이터셋 로드: 2708개 노드, 5429개 엣지, 7개 클래스
  • 훈련 설정: 200 에폭, 학습률 0.01, 가중치 감쇠 5e-4
  • 예상 테스트 정확도: 약 75-80%

Utilisation de "torch-geometric". 분자 특성 예측을 위한 Graph Attention Network 생성

Résultat attendu:

  • 레이어당 8개의 어텐션 헤드로 GAT 구축
  • 독성 예측을 위해 MoleculeNet 데이터셋 사용
  • AddSelfLoops 및 NormalizeFeatures 변환 적용
  • 모델은 정규화를 위해 드롭아웃 0.6 사용

Audit de sécurité

Risque faible
v5 • 1/17/2026

This is a legitimate PyTorch Geometric documentation and utility skill containing 671 lines of documentation and 3 Python utility scripts. The extensive static findings (776 issues) are all false positives from the analyzer misinterpreting markdown code examples and PyTorch API calls. No actual command execution, credential access, or data exfiltration patterns exist in the codebase.

8
Fichiers analysés
3,796
Lignes analysées
3
résultats
5
Total des audits
Problèmes à risque faible (1)
Scripts use /tmp for dataset caching
Python scripts write benchmark datasets to /tmp directory for data caching. This is standard ML practice but represents filesystem write access.

Score de qualité

68
Architecture
100
Maintenabilité
87
Contenu
20
Communauté
88
Sécurité
78
Conformité aux spécifications

Ce que vous pouvez construire

GNN 아키텍처 프로토타이핑

벤치마크 데이터셋에서 다양한 GNN 레이어와 훈련 전략을 실험합니다.

네트워크 데이터 분석

소셜 네트워크, 인용 네트워크, 추천 시스템에 그래프 학습을 적용합니다.

분자 특성 예측

신약 개발 및 분자 특성 예측 작업을 위한 모델을 구축합니다.

Essayez ces prompts

기본 노드 분류
Help me build a Graph Convolutional Network for node classification on the Cora dataset using PyTorch Geometric. Include data loading, model definition, and training loop.
그래프 분류
Create a Graph Isomorphism Network (GIN) for graph classification on the ENZYMES dataset. Show how to use DataLoader and global pooling.
커스텀 GNN 레이어
Help me implement a custom MessagePassing layer in PyTorch Geometric that uses attention-based aggregation over neighbor features.
대규모 그래프
Show me how to use NeighborLoader for training GNNs on large-scale graphs like Reddit or OGB datasets with mini-batch processing.

Bonnes pratiques

  • 더 복잡한 아키텍처를 탐색하기 전에 GCNConv 또는 GATConv로 베이스라인 모델부터 시작하세요
  • 대규모 그래프에는 NeighborLoader를 사용하여 효율적인 미니배치 훈련을 가능하게 하세요
  • 더 나은 결과를 위해 전처리 중 NormalizeFeatures 및 AddSelfLoops와 같은 변환을 적용하세요

Éviter

  • 정규화 없이 너무 많은 GNN 레이어 사용 (과도한 평활화 발생)
  • 대규모 데이터셋에 대해 샘플링 없이 전체 그래프에서 훈련 (메모리 문제)
  • train/val/test 분할 마스크를 무시하고 모든 레이블을 훈련에 사용

Foire aux questions

노드 분류에 사용할 수 있는 데이터셋은 무엇인가요?
Planetoid (Cora, CiteSeer, PubMed), Coauthor (CS, Physics), Amazon (Computers, Photo), OGBN 데이터셋 등이 있습니다.
GNN은 몇 개의 레이어를 가져야 하나요?
대부분의 GNN은 2-4개의 레이어를 사용합니다. 더 깊은 네트워크는 과도한 평활화 위험이 있습니다. 더 깊은 모델을 위해서는 정규화와 잔차 연결을 사용하세요.
이종 그래프에서 PyTorch Geometric을 사용할 수 있나요?
네. 다중 타입 노드/엣지 그래프에는 HeteroData를 사용하고, 기존 모델을 변환하려면 to_hetero()를 사용하세요.
이 스크립트를 사용할 때 내 데이터는 안전한가요?
네. 모든 스크립트는 로컬에서 실행되며 사용자가 제공한 데이터에만 액세스합니다. 외부 서버로 데이터가 전송되지 않습니다.
모델이 효과적으로 훈련되지 않는 이유는 무엇인가요?
다음을 확인하세요: 1) 올바른 train/val/test 마스크, 2) 학습률과 가중치 감쇠, 3) 충분한 에폭 수, 4) 그래프 연결성.
PyTorch Geometric은 다른 GNN 라이브러리와 어떻게 비교되나요?
PyTorch Geometric은 PyTorch 통합과 함께 가장 많은 GNN 레이어, 변환 및 벤치마크 데이터셋 컬렉션을 제공합니다.