A Python client for the Neo4j Graph Data Science (GDS) library
APACHE-2.0 License
Bot releases are hidden (Show)
Published by RafalSkolasinski about 1 month ago
We are happy to announce the alpha release of graphdatascience
, the GDS Python client, version 1.12a1
. It is published to PyPI.
Documentation: https://neo4j.com/docs/graph-data-science-client/1.12-preview/
Highlights:
GdsSessions.get_or_create
requires a new parameter cloud_location
to specify where the session will be created.ttl
parameter to GdsSessions.get_or_create
to control if and when an unused session will be automatically deleted.concurrency
parameter.Published by FlorentinD 3 months ago
We are happy to announce the release of graphdatascience, the GDS Python client, version 1.11! It is published to PyPI!
Documentation: https://neo4j.com/docs/graph-data-science-client/1.11/
Highlights:
relationship_types
as a string in gds.graph.relationshipProperties.stream()
.kge-predict-transe-pyg-train.ipynb
which now uses the gds.graph.relationshipProperty.stream()
call and can correctly handle multiple relationships between the same pair of nodes. Issue ref: https://github.com/neo4j/graph-data-science-client/issues/554
The release can be pip installed with pip install graphdatascience==1.11
.
Published by FlorentinD 3 months ago
We are happy to announce the alpha release of graphdatascience
, the GDS Python client, version 1.11a3
. It is published to PyPI.
Documentation: https://neo4j.com/docs/graph-data-science-client/1.11-preview/
Highlights:
gds.graph.project
endpoint to project graphs from AuraDB instances to GDS sessions.GdsSessions
to manage GDS sessions in Aura.
GdsSessions
support get_or_create()
, list()
, and delete()
.run_cypher()
method will run Cypher queries targeting the configured AuraDB instance.relationship_types
as a string in gds.graph.relationshipProperties.stream()
.kge-predict-transe-pyg-train.ipynb
which now uses the gds.graph.relationshipProperty.stream()
call and can correctly handle multiple relationships between the same pair of nodes. Issue ref: #554
gds.graph.project.cypher
produces an empty graph.neo4j
driver from 4.4.2
to the latest 4.4 path release (4.4.12
) or later.Published by Mats-SX 3 months ago
We are happy to announce the alpha release of graphdatascience
, the GDS Python client, version 1.11a3
. It is published to PyPI.
Documentation: https://neo4j.com/docs/graph-data-science-client/1.11-preview/
Highlights:
gds.graph.project
endpoint to project graphs from AuraDB instances to GDS sessions.GdsSessions
to manage GDS sessions in Aura.
GdsSessions
support get_or_create()
, list()
, and delete()
.run_cypher()
method will run Cypher queries targeting the configured AuraDB instance.relationship_types
as a string in gds.graph.relationshipProperties.stream()
.kge-predict-transe-pyg-train.ipynb
which now uses the gds.graph.relationshipProperty.stream()
call and can correctly handle multiple relationships between the same pair of nodes. Issue ref: #554
Published by Mats-SX 4 months ago
We are happy to announce the alpha release of graphdatascience
, the GDS Python client, version 1.11a2
. It is published to PyPI.
Documentation: https://neo4j.com/docs/graph-data-science-client/1.11-preview/
Highlights:
gds.graph.project
endpoint to project graphs from AuraDB instances to GDS sessions.GdsSessions
to manage GDS sessions in Aura.
GdsSessions
support get_or_create()
, list()
, and delete()
.run_cypher()
method will run Cypher queries targeting the configured AuraDB instance.Published by Mats-SX 5 months ago
We are happy to announce the alpha release of graphdatascience, the GDS Python client, version 1.11a. It is published to PyPI.
Documentation: https://neo4j.com/docs/graph-data-science-client/1.11-preview/
Highlights:
gds.graph.project
endpoint to project graphs from AuraDB instances to GDS sessions.
nodePropertySchema
and relationshipPropertySchema
can be used to optimise remote projections.GdsSessions
to manage GDS sessions in Aura.
GdsSessions
support get_or_create()
, list()
, and delete()
.run_cypher()
method will run Cypher queries targeting the configured AuraDB instance.Published by adamnsch 7 months ago
We are happy to announce the release of graphdatascience
, the GDS Python client, version 1.10! It is published to PyPI!
Documentation: https://neo4j.com/docs/graph-data-science-client/1.10/
Highlights:
gds.graph.toUndirected
.GraphDataScience
construction was not used for metadata retrieval, causing an exception to be raised if the default "neo4j" database was missing.The release can be pip installed with pip install graphdatascience==1.10
.
Published by brs96 8 months ago
We are happy to announce the alpha release of graphdatascience, the GDS Python client, version 1.10a1! It is published to PyPI!
Documentation: https://neo4j.com/docs/graph-data-science-client/1.10-preview/
Highlights:
The release can be pip installed with pip install graphdatascience==1.10a1.
Published by brs96 9 months ago
We are happy to announce the release of graphdatascience, the GDS Python client, version 1.9! It is published to PyPI!
Documentation: https://neo4j.com/docs/graph-data-science-client/1.9/
Highlights:
gds.license.state
targeting an AuraDS instance.listNodeLabels
was ignored for gds.graph.[nodeProperty|nodeProperties].stream
calls via Arrow.listNodeLabels
was ignored for gds.graph.[nodeProperty|nodeProperties].stream
calls via Cypher and separate_property_columns=True
.graphdatascience
.gds.graph.drop
by name and not only based on Graph
objects.The release can be pip installed with pip install graphdatascience==1.9.
Published by brs96 about 1 year ago
We are happy to announce the release of graphdatascience, the GDS Python client, version 1.8! It is published to PyPI!
Documentation: https://neo4j.com/docs/graph-data-science-client/1.8/
Highlights:
gds.graph.cypher.project
to project a graph using Cypher projection.gds.graph.load_lastfm()
.with
clauses. The expression with gds.graph.project(...)[0] as G
can now be simplified to with gds.graph.project(...) AS G
.gds.graph.construct
more robust by ignoring empty dataframes inside. This makes it less error-prone to construct nodes only graphs.The release can be pip installed with pip install graphdatascience==1.8
.
Published by brs96 over 1 year ago
We are happy to announce the release of graphdatascience, the GDS Python client, version 1.7! It is published to PyPI!
Documentation: https://neo4j.com/docs/graph-data-science-client/1.7/
Highlights:
New features:
GraphDataScience.server_version
which returns the version of the server not as a str
but as a ServerVersion
. This allows easier inspection of the major, minor and patch version.Graph
. This allows usage as part of the with
statements, where the graph is dropped at the end.gds.graph.ogbn.load
for node property prediction datasets, andgds.graph.ogbl.load
for link property prediction datasets.gds.graph.networkx.load
.gds.alpha.graph.construct
to gds.graph.construct
.Improvements:
GraphDataScience.from_neo4j_driver
factory method now additionally takes the same Arrow related keyword parameters as the GraphDataScience
constructor.The release can be pip installed with pip install graphdatascience==1.7
.
Published by adamnsch over 1 year ago
We are happy to announce the first alpha release of graphdatascience
, the GDS Python client, version 1.7
! It is published to PyPI!
Documentation: https://neo4j.com/docs/graph-data-science-client/1.7-preview/
It contains the following changes:
GraphDataScience.server_version
which returns the version of the server not as a str
but as a ServerVersion
. This allows easier inspection of the major, minor and patch version.Graph
. This allows usage as part of the with
statements, where the graph is dropped at the end.gds.graph.ogbn.load
for node property prediction datasets, andgds.graph.ogbl.load
for link property prediction datasets.gds.graph.networkx.load
.GraphDataScience.from_neo4j_driver
factory method now additionally takes the same Arrow related keyword parameters as the GraphDataScience
constructor.Additionally, there is now reference documentation for the library which can be found here.
The release can be pip installed with pip install graphdatascience==1.7a1
.
Published by brs96 over 1 year ago
We are happy to announce the release of graphdatascience
, the GDS Python client, version 1.6
! It is published to PyPI!
Documentation: https://neo4j.com/docs/graph-data-science-client/1.6/
It contains the following changes:
undirected_relationship_types
to gds.alpha.graph.construct
which allows constructing undirected graphs, when using GDS >= 2.3.0.undirected
to gds.load_cora
to load the dataset undirected.gds.alpha.graph.nodeLabel.write
to write back node labels to Neo4j database.Model
object:
model_info
to get model metadata obtained during training.classes
to list all classes used during training (only for Node Classification models).best_parameters
which returns a pandas Series
containing the parameters of the model candidate winning the model selection training.feature_properties
(only for Node Property models)link_features
(only for LP models)node_property_steps
gds.graph.construct
now renders a progress bar if Arrow support is enabled.gds.graph.relationships.to_undirected
to turn a directed relationship type to an undirected, when using GDS >= 2.3.0gds.graph.load_karate_club
gds.graph.load_imdb
db_node_properties
to gds.graph.nodeProperties.stream
that can stream DB-only node properties that are not on the in-memory graph.gds.alpha.graph.nodeLabel.mutate
to mutate the in-memory graph with new node labels.Model.metrics()
method for pipeline models (e.g. LP, NC, NR) to return custom type.gds.graph.construct()
to support multiple dataframes for nodes and relationships without arrow.Additionally, there are new example notebooks available.
The release can be pip installed with pip install graphdatascience==1.6
.
Published by Mats-SX almost 2 years ago
We are happy to announce the first release candidate of graphdatascience
, the GDS Python client, version 1.6rc1
! It is published to PyPI!
Documentation: https://neo4j.com/docs/graph-data-science-client/1.6/
This release candidate is feature complete for the release of 1.6. It contains the following changes:
undirected_relationship_types
to gds.alpha.graph.construct
which allows constructing undirected graphs, when using GDS >= 2.3.0.undirected
to gds.load_cora
to load the dataset undirected.gds.alpha.graph.nodeLabel.write
to write back node labels to Neo4j database.Model
object:
model_info
to get model metadata obtained during training.classes
to list all classes used during training (only for Node Classification models).best_parameters
which returns a pandas Series
containing the parameters of the model candidate winning the model selection training.feature_properties
(only for Node Property models)link_features
(only for LP models)node_property_steps
gds.graph.construct
now renders a progress bar if Arrow support is enabled.gds.graph.relationships.to_undirected
to turn a directed relationship type to an undirected, when using GDS >= 2.3.0gds.graph.load_karate_club
gds.graph.load_imdb
db_node_properties
to gds.graph.nodeProperties.stream
that can stream DB-only node properties that are not on the in-memory graph.gds.alpha.graph.nodeLabel.mutate
to mutate the in-memory graph with new node labels.Model.metrics()
method for pipeline models (e.g. LP, NC, NR) to return custom type.gds.graph.construct()
to support multiple dataframes for nodes and relationships without arrow.Additionally, there are new example notebooks available.
The release can be pip installed with pip install graphdatascience==1.6rc1
.
Published by adamnsch almost 2 years ago
We are happy to announce the release of graphdatascience
, the GDS Python client, version 1.5
! It is published to PyPI!
Changes:
GraphDataScience
constructor.gds.graph.get
is now able to resolve graph names into Graph
objects of other users graph projections.gds.alpha.triangles
.gds.alpha.userLog
to access hints and warnings for the recently run operations.gds.alpha.backup
and gds.alpha.restore
.gds.alpha.config.defaults.set
and gds.alpha.config.defaults.list
.The release can be pip installed with pip install graphdatascience==1.5
.
Published by FlorentinD about 2 years ago
We are happy to announce the release of graphdatascience, the GDS Python client, version 1.4
! It is published to PyPI!
Highlights:
DataFrame
returned by gds.beta.graph.relationships.stream
now has a convenience method called by_rel_type
.database
to GraphDataScience.run_cypher
for overriding which database to target.gds.graph.load_cora
to load the CORA dataset into GDS.database
to the GraphDataScience
constructor for specifying the targeted database.gds.alpha.pipeline.nodeRegression.create
.gds.alpha.pipeline.nodeRegression.train
.run_cypher
did not execute Cypher correctly in some edge cases.A full list of changes can be found in the changelog.
The release can be pip installed with pip install graphdatascience==1.4
.
Published by Mats-SX about 2 years ago
We are happy to announce the release of graphdatascience, the GDS Python client, version 1.3
! It is published to PyPI!
Highlights:
addMLP
to link prediction and node classification pipelines.GraphDataScience
constructor:
arrow_tls_root_certs
arrow_disable_server_verification
A full list of changes can be found in the changelog.
The release can be pip installed with pip install graphdatascience==1.3
.
Published by adamnsch about 2 years ago
The first alpha release of version 1.3.0 of graphdatascience
, the GDS Python client, has been published to PyPI!
Highlights:
addMLP
to link prediction and node classification pipelines.GraphDataScience
constructor:
arrow_tls_root_certs
arrow_disable_server_verification
A full list of changes can be found in the changelog.
The release can be pip installed with pip install graphdatascience==1.3.0a1
.
Published by adamnsch over 2 years ago
Version 1.2.0 of graphdatascience
, the GDS Python client, has been published to PyPI!
Included are bug fixes for:
separate_property_columns=True
option of gds.graph.streamNodeProperties
did not handle list node properties correctly.GraphDataScience
object targeting an AuraDS instance with GDS server version >= 2.1.0.gds.alpha.graph.construct
targeting an AuraDS instance would raise an exception.The release can be pip installed with pip install graphdatascience==1.2.0
.
Published by adamnsch over 2 years ago
Version 1.1.0 of graphdatascience
, the GDS Python client, has been published to PyPI!
Changes highlights:
Graph
objectgds.alpha.graph.construct
for loading a graph directly into GDS from client side pandas DataFrame
s
A full list of changes can be found in the changelog.
The release can be pip installed with pip install graphdatascience==1.1.0
.