├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── Chapter01 ├── 01_Introduction_Networkx.ipynb ├── 02_Graph_metrics.ipynb ├── 03_Graphs_Benchmarks.ipynb ├── poetry.lock ├── pyproject.toml └── requirements.txt ├── Chapter02 ├── 01_embedding_examples.ipynb ├── poetry.lock ├── pyproject.toml └── requirements.txt ├── Chapter03 ├── 01_ImageClassification_TensorFlow.ipynb ├── 02_ImageClassification_Pytorch.ipynb ├── 03_Autoencoders.ipynb ├── 04_GraphAutoEncoder_PyGeometric.ipynb ├── 05_GraphAutoEncoder_StellarGraph.ipynb ├── poetry.lock ├── pyproject.toml └── requirements.txt ├── Chapter04 ├── 01_Shallow_Embeddings.ipynb ├── 02_Autoencoders.ipynb ├── 03_Structural_deep_neural_embeddings.ipynb ├── 04_Graph_Neural_Network.ipynb ├── poetry.lock ├── pyproject.toml └── requirements.txt ├── Chapter05 ├── 01_Feature_based_methods.ipynb ├── 02_Shallow_embeddings.ipynb ├── 03_Graph_regularization_graph_neural_training.ipynb ├── 04_Graph_Neural_Networks.ipynb ├── 05_Planetoid.ipynb ├── poetry.lock ├── pyproject.toml └── requirements.txt ├── Chapter06 ├── 01_link_prediction.ipynb ├── 02_community_detection_algorithms.ipynb ├── 03_graph_similarity.ipynb ├── poetry.lock ├── pyproject.toml └── requirements.txt ├── Chapter07 ├── 01_Social_network_analysis.ipynb ├── 02_Social_network_analysis.ipynb ├── poetry.lock ├── pyproject.toml └── requirements.txt ├── Chapter08 ├── 01_nlp_graph_creation.ipynb ├── 02_supervised_classification-embeddings.ipynb ├── 03_supervised_classification_graphSAGE-TFIDF.ipynb ├── 04_supervised_classification_pyg.ipynb ├── poetry.lock ├── pyproject.toml ├── requirements.txt └── subject_object_extraction.py ├── Chapter09 ├── 01_Credit_card_edges_classification.ipynb ├── poetry.lock ├── pyproject.toml └── requirements.txt ├── Chapter10 ├── 00_Data_Conversion.ipynb ├── 01_Neo4j_bindings.ipynb ├── 02_JanusGraph_Gremlin.ipynb ├── movieCreationQuery.txt ├── poetry.lock ├── pyproject.toml └── requirements.txt ├── Chapter11 ├── Temporal_GraphML.ipynb └── requirements.txt ├── Chapter12 ├── LLM_and_Graphs.ipynb ├── poetry.lock ├── pyproject.toml ├── requirements.txt └── setup_ollama.sh ├── LICENSE ├── README.md ├── docker ├── Dockerfile ├── README.md └── tests.sh └── utils.py /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .ipynb_checkpoints 2 | __pycache__ -------------------------------------------------------------------------------- /Chapter01/01_Introduction_Networkx.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter01/01_Introduction_Networkx.ipynb -------------------------------------------------------------------------------- /Chapter01/02_Graph_metrics.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter01/02_Graph_metrics.ipynb -------------------------------------------------------------------------------- /Chapter01/03_Graphs_Benchmarks.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter01/03_Graphs_Benchmarks.ipynb -------------------------------------------------------------------------------- /Chapter01/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter01/poetry.lock -------------------------------------------------------------------------------- /Chapter01/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter01/pyproject.toml -------------------------------------------------------------------------------- /Chapter01/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter01/requirements.txt -------------------------------------------------------------------------------- /Chapter02/01_embedding_examples.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter02/01_embedding_examples.ipynb -------------------------------------------------------------------------------- /Chapter02/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter02/poetry.lock -------------------------------------------------------------------------------- /Chapter02/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter02/pyproject.toml -------------------------------------------------------------------------------- /Chapter02/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter02/requirements.txt -------------------------------------------------------------------------------- /Chapter03/01_ImageClassification_TensorFlow.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter03/01_ImageClassification_TensorFlow.ipynb -------------------------------------------------------------------------------- /Chapter03/02_ImageClassification_Pytorch.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter03/02_ImageClassification_Pytorch.ipynb -------------------------------------------------------------------------------- /Chapter03/03_Autoencoders.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter03/03_Autoencoders.ipynb -------------------------------------------------------------------------------- /Chapter03/04_GraphAutoEncoder_PyGeometric.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter03/04_GraphAutoEncoder_PyGeometric.ipynb -------------------------------------------------------------------------------- /Chapter03/05_GraphAutoEncoder_StellarGraph.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter03/05_GraphAutoEncoder_StellarGraph.ipynb -------------------------------------------------------------------------------- /Chapter03/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter03/poetry.lock -------------------------------------------------------------------------------- /Chapter03/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter03/pyproject.toml -------------------------------------------------------------------------------- /Chapter03/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter03/requirements.txt -------------------------------------------------------------------------------- /Chapter04/01_Shallow_Embeddings.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter04/01_Shallow_Embeddings.ipynb -------------------------------------------------------------------------------- /Chapter04/02_Autoencoders.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter04/02_Autoencoders.ipynb -------------------------------------------------------------------------------- /Chapter04/03_Structural_deep_neural_embeddings.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter04/03_Structural_deep_neural_embeddings.ipynb -------------------------------------------------------------------------------- /Chapter04/04_Graph_Neural_Network.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter04/04_Graph_Neural_Network.ipynb -------------------------------------------------------------------------------- /Chapter04/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter04/poetry.lock -------------------------------------------------------------------------------- /Chapter04/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter04/pyproject.toml -------------------------------------------------------------------------------- /Chapter04/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter04/requirements.txt -------------------------------------------------------------------------------- /Chapter05/01_Feature_based_methods.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter05/01_Feature_based_methods.ipynb -------------------------------------------------------------------------------- /Chapter05/02_Shallow_embeddings.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter05/02_Shallow_embeddings.ipynb -------------------------------------------------------------------------------- /Chapter05/03_Graph_regularization_graph_neural_training.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter05/03_Graph_regularization_graph_neural_training.ipynb -------------------------------------------------------------------------------- /Chapter05/04_Graph_Neural_Networks.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter05/04_Graph_Neural_Networks.ipynb -------------------------------------------------------------------------------- /Chapter05/05_Planetoid.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter05/05_Planetoid.ipynb -------------------------------------------------------------------------------- /Chapter05/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter05/poetry.lock -------------------------------------------------------------------------------- /Chapter05/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter05/pyproject.toml -------------------------------------------------------------------------------- /Chapter05/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter05/requirements.txt -------------------------------------------------------------------------------- /Chapter06/01_link_prediction.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter06/01_link_prediction.ipynb -------------------------------------------------------------------------------- /Chapter06/02_community_detection_algorithms.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter06/02_community_detection_algorithms.ipynb -------------------------------------------------------------------------------- /Chapter06/03_graph_similarity.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter06/03_graph_similarity.ipynb -------------------------------------------------------------------------------- /Chapter06/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter06/poetry.lock -------------------------------------------------------------------------------- /Chapter06/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter06/pyproject.toml -------------------------------------------------------------------------------- /Chapter06/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter06/requirements.txt -------------------------------------------------------------------------------- /Chapter07/01_Social_network_analysis.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter07/01_Social_network_analysis.ipynb -------------------------------------------------------------------------------- /Chapter07/02_Social_network_analysis.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter07/02_Social_network_analysis.ipynb -------------------------------------------------------------------------------- /Chapter07/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter07/poetry.lock -------------------------------------------------------------------------------- /Chapter07/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter07/pyproject.toml -------------------------------------------------------------------------------- /Chapter07/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter07/requirements.txt -------------------------------------------------------------------------------- /Chapter08/01_nlp_graph_creation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter08/01_nlp_graph_creation.ipynb -------------------------------------------------------------------------------- /Chapter08/02_supervised_classification-embeddings.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter08/02_supervised_classification-embeddings.ipynb -------------------------------------------------------------------------------- /Chapter08/03_supervised_classification_graphSAGE-TFIDF.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter08/03_supervised_classification_graphSAGE-TFIDF.ipynb -------------------------------------------------------------------------------- /Chapter08/04_supervised_classification_pyg.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter08/04_supervised_classification_pyg.ipynb -------------------------------------------------------------------------------- /Chapter08/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter08/poetry.lock -------------------------------------------------------------------------------- /Chapter08/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter08/pyproject.toml -------------------------------------------------------------------------------- /Chapter08/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter08/requirements.txt -------------------------------------------------------------------------------- /Chapter08/subject_object_extraction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter08/subject_object_extraction.py -------------------------------------------------------------------------------- /Chapter09/01_Credit_card_edges_classification.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter09/01_Credit_card_edges_classification.ipynb -------------------------------------------------------------------------------- /Chapter09/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter09/poetry.lock -------------------------------------------------------------------------------- /Chapter09/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter09/pyproject.toml -------------------------------------------------------------------------------- /Chapter09/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter09/requirements.txt -------------------------------------------------------------------------------- /Chapter10/00_Data_Conversion.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter10/00_Data_Conversion.ipynb -------------------------------------------------------------------------------- /Chapter10/01_Neo4j_bindings.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter10/01_Neo4j_bindings.ipynb -------------------------------------------------------------------------------- /Chapter10/02_JanusGraph_Gremlin.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter10/02_JanusGraph_Gremlin.ipynb -------------------------------------------------------------------------------- /Chapter10/movieCreationQuery.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter10/movieCreationQuery.txt -------------------------------------------------------------------------------- /Chapter10/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter10/poetry.lock -------------------------------------------------------------------------------- /Chapter10/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter10/pyproject.toml -------------------------------------------------------------------------------- /Chapter10/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter10/requirements.txt -------------------------------------------------------------------------------- /Chapter11/Temporal_GraphML.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter11/Temporal_GraphML.ipynb -------------------------------------------------------------------------------- /Chapter11/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter11/requirements.txt -------------------------------------------------------------------------------- /Chapter12/LLM_and_Graphs.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter12/LLM_and_Graphs.ipynb -------------------------------------------------------------------------------- /Chapter12/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter12/poetry.lock -------------------------------------------------------------------------------- /Chapter12/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter12/pyproject.toml -------------------------------------------------------------------------------- /Chapter12/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter12/requirements.txt -------------------------------------------------------------------------------- /Chapter12/setup_ollama.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/Chapter12/setup_ollama.sh -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/README.md -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/docker/README.md -------------------------------------------------------------------------------- /docker/tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/docker/tests.sh -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Graph-Machine-Learning/HEAD/utils.py --------------------------------------------------------------------------------