Skip to content

Full Stack Graph Machine Learning: Theory, Practice, Tools and Techniques

License

Notifications You must be signed in to change notification settings

shashipal95/graphml-class

 
 

Repository files navigation

Graph Machine Learning: Theory, Practice, Tools and Techniques

This is a course from Graphlet AI on full-stack graph machine learning taught by Russell Jurney.

Environment Setup

This project uses Docker image rjurney/graphml-class. To bring it up as the jupyter service along with neo4j, run:

# Pull the Docker images
docker compose pull

# Run a Jupyter Notebook container in the background with all requirements.txt installed
docker compose up -d

# Tail the Jupyter logs to see the JupyterLab url to connect in your browser
docker logs jupyter -f --tail 100

To shut down docker, be in this folder and type:

docker compose down

docker compose vs docker-compose

You say potato, I say patato... the docker compose command changed in recent versions :)

NOTE: older versions of docker may use the command docker-compose rather than the two word command docker compose.

VSCode Setup

To edit code in VSCode you may want a local Anaconda Python environment with the class's PyPi libraries installed. This will enable VSCode to parse the code, understand APIs and highlight errors.

Note: if you do not use Anaconda, consider using it :) You can use a Python 3 venv in the same way as conda.

Class Anaconda Environment

Create a new Anaconda environment:

conda create -n graphml python=3.10 -y

Activate the environment:

conda activate graphml

Install the project's libraries:

poetry install

VSCode Interpretter

You can use a Python environment in VSCode by typing:

SHIFT-CMD-P

to bring up a command search window. Now type Python or Interpreter or if you see it, select Python: Select Interpreter. Now choose the path to your conda environment. It will include the name of the environment, such as:

Python 3.10.11 ('graphml') /opt/anaconda3/envs/graphml/bin/python

About

Full Stack Graph Machine Learning: Theory, Practice, Tools and Techniques

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.4%
  • Python 2.5%
  • Dockerfile 0.1%