tahamajs's picture
|
download
raw
2.33 kB

๐Ÿš€ CA10 Knowledge Graphs - Complete Execution Guide

โœ… Ready to Run!

The run.sh file has been successfully created and all necessary components for the complete execution of the CA10 Knowledge Graphs project are ready.

๐Ÿ“‹ What's Been Created:

Main Files:

  • โœ… run.sh - Complete execution script (executable)
  • โœ… main_execution.py - Main Python script
  • โœ… test_setup.py - Setup testing script
  • โœ… README_RUN.md - Complete English guide

Directories:

  • โœ… src/ - Source code
  • โœ… logs/ - Log files
  • โœ… results/ - Analysis results
  • โœ… visualization/ - Generated images

๐ŸŽฏ How to Run:

Method 1: Complete Execution (Recommended)

cd /Users/tahamajs/Documents/uni/Sysmem2_in_AI/CAs/CA10_knowledge_graphs
./run.sh

Method 2: Step-by-Step Execution

# 1. Install dependencies (no virtual environment needed)
pip install -r requirements.txt

# 2. Run main script
python main_execution.py

๐Ÿ”ง Script Features:

โœจ Automatic Execution:

  • Uses system Python environment (no virtual environment creation)
  • Installs all dependencies
  • Runs all notebook sections
  • Saves high-quality images (300 DPI)
  • Generates complete report

๐Ÿ“Š Generated Outputs:

  • Images: basic_knowledge_graph.png, advanced_scientific_network.png, transe_embeddings.png, distmult_embeddings.png, complex_embeddings.png, einstein_subgraph.png
  • Results: JSON analysis and Markdown reports
  • Logs: Execution log files

๐Ÿง  Executed Sections:

  1. Basic Knowledge Graph - Creating and visualizing simple knowledge graph
  2. Advanced Scientific Knowledge Graph - Analyzing scientific network with temporal features
  3. Embedding Models - TransE, DistMult, and ComplEx
  4. Reasoning and Querying - Reasoning examples and subgraph extraction
  5. Reporting - Generating complete execution report

๐ŸŽ‰ Ready to Use!

The run.sh script performs all necessary tasks:

  • Uses system Python environment
  • Installs dependencies
  • Runs all notebook sections
  • Saves images in visualization/ folder
  • Saves results in results/ folder
  • Generates complete report

Just run the command ./run.sh! ๐Ÿš€


This script runs all important sections of the CA10 notebook and saves results in an organized manner.

Xet Storage Details

Size:
2.33 kB
ยท
Xet hash:
e77b9405b8eef901e64402f6e25ae9f3cc368e58507ca7563724b6c72c3c910f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.