Nodes categories
The followings are all the various category of nodes that can be added to a graph.
Info
Please note that there exists Bipartite Graph, Tripartite Graph and Full Graph, all with their peculiarities and restrictions.
Check their documentation for more!
UserNode(value)
Bases: Node
Class that represents 'user' nodes
PARAMETER | DESCRIPTION |
---|---|
value |
the value to store in the node
TYPE:
|
Source code in clayrs/recsys/graphs/graph.py
64 65 |
|
ItemNode(value)
Bases: Node
Class that represents 'item' nodes
PARAMETER | DESCRIPTION |
---|---|
value |
the value to store in the node
TYPE:
|
Source code in clayrs/recsys/graphs/graph.py
82 83 |
|
PropertyNode(value)
Bases: Node
Class that represents 'property' nodes
PARAMETER | DESCRIPTION |
---|---|
value |
the value to store in the node
TYPE:
|
Source code in clayrs/recsys/graphs/graph.py
100 101 |
|