Reader small image

You're reading from  Hands-On Graph Analytics with Neo4j

Product typeBook
Published inAug 2020
PublisherPackt
ISBN-139781839212611
Edition1st Edition
Tools
Right arrow
Author (1)
Estelle Scifo
Estelle Scifo
author image
Estelle Scifo

Estelle Scifo possesses over 7 years experience as a data scientist, after receiving her PhD from the Laboratoire de lAcclrateur Linaire, Orsay (affiliated to CERN in Geneva). As a Neo4j certified professional, she uses graph databases on a daily basis and takes full advantage of its features to build efficient machine learning models out of this data. In addition, she is also a data science mentor to guide newcomers into the field. Her domain expertise and deep insight into the perspective of the beginners needs make her an excellent teacher.
Read more about Estelle Scifo

Right arrow

Automating graph-based feature creation with the Neo4j Python driver

Using Cypher to create our features is good for testing, but once we are in the production phase, it is not manageable to manually perform such operations. Fortunately, Neo4j officially provides drivers for several languages, including Java, .NET, and Go. In this book, we use Python, so we will learn about the Python driver in the following section.

Discovering the Neo4j Python driver

Python is officially supported by Neo4j, who provides a driver to connect to a Neo4j graph from Python at https://github.com/neo4j/neo4j-python-driver.

It can be installed through the pip Python package manager:

pip install neo4j
# or
conda install -c conda-forge neo4j
The code for this section is available in a Jupyter notebook: Neo4j_Python_Driver.ipynb.

In order to use this database, the first step is the connection definition, which requires the active graph URI and the authentication parameters. bolt is a client-server communication...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Graph Analytics with Neo4j
Published in: Aug 2020Publisher: PacktISBN-13: 9781839212611

Author (1)

author image
Estelle Scifo

Estelle Scifo possesses over 7 years experience as a data scientist, after receiving her PhD from the Laboratoire de lAcclrateur Linaire, Orsay (affiliated to CERN in Geneva). As a Neo4j certified professional, she uses graph databases on a daily basis and takes full advantage of its features to build efficient machine learning models out of this data. In addition, she is also a data science mentor to guide newcomers into the field. Her domain expertise and deep insight into the perspective of the beginners needs make her an excellent teacher.
Read more about Estelle Scifo