Model catalog

This section details the model catalog operations available to manage named trained models within the Neo4j Graph Data Science library.

Some graph algorithms use trained models in their computation. A model is generally a mathematical formula representing a real-world or fictitious entities. Each algorithm requiring a trained model provides the formulation and means to compute this model (see GraphSage train syntax).

The model catalog is a concept within the GDS library that allows storing and managing multiple trained models by name.

This chapter explains the available model catalog operations.

Name Description

gds.beta.model.list

Prints information about models that are currently available in the catalog.

gds.beta.model.exists

Checks if a named model is available in the catalog.

gds.beta.model.drop

Drops a named model from the catalog.

gds.alpha.model.store

Stores a names model from the catalog on disk.

gds.alpha.model.load

Loads a named and stored model from disk.

gds.alpha.model.delete

Removes a named and stored model from disk.

gds.alpha.model.publish

Makes a model accessible to all users.

Training models is a responsibility of the corresponding algorithm and is provided by a procedure mode - train. Training, using, listing, and dropping named models are management operations bound to a Neo4j user. Models trained by a different Neo4j user are not accessible at any time.