Created by freemso on 17-3-14.
Solver
01 Syntax
Microsoft.VisualBasic.MachineLearning.Bootstrapping.node2vec.Solver
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CreateGraph | 1 | create graph from a dataframe? |
| CreateEmbedding | 1 | implements of node2vec embedding for the nodes in graph |
03 Members
CreateGraph(
String(), String(), Double())create graph from a dataframe?
Parameters
| Name | Type | Description |
|---|---|---|
u | String() | - |
v | String() | - |
w | Double() | - |
implements of node2vec embedding for the nodes in graph
Remarks
implements of the graph embedding to vector via node2vec:
- random walk for get a collection node chains
- use the node chain as text, and node in chain as the words
- word2vec for make the node chains as vector
- get vector embedding result for each node
Parameters
| Name | Type | Description |
|---|---|---|
graph | Graph | could be generated from the Solver.CreateGraph() function. |
numWalks | Int32 | - |
walkLength | Int32 | - |
dimensions | Int32 | - |
windowSize | Int32 | - |
Returns
node mapping to a vector