机器学习过程

Neo4j图数据科学Python客户端API中所有机器学习过程的列表。这包括运行嵌入算法和创建各种管道。所有这些都假定GraphDataScience对象以gds形式可用。

gds.pipeline.get(pipeline_name: str) TrainingPipeline[PipelineModel]

获取一个表示管道目录中管道的管道对象。

gds.alpha.ml.splitRelationships.mutate(G: Graph, **config: Any) Series[Any]

将图拆分为保留关系类型和剩余关系类型,并将其添加到图中。

gds.alpha.ml.splitRelationships.mutate.estimate(G: Graph, **config: Any) Series[Any]

将图拆分为保留关系类型和剩余关系类型,并将其添加到图中。

gds.alpha.pipeline.nodeRegression.create(name: str) Tuple[NRTrainingPipeline, Series[Any]]

在管道目录中创建节点回归训练管道。

gds.beta.graphSage.mutate(G: Graph, **config: Any) Series[Any]

GraphSage算法根据节点的特征和邻域归纳计算节点的嵌入。

gds.beta.graphSage.mutate.estimate(G: Graph, **config: Any) Series[Any]

GraphSage算法根据节点的特征和邻域归纳计算节点的嵌入。

gds.beta.graphSage.stream(G: Graph, **config: Any) DataFrame

GraphSage算法根据节点的特征和邻域归纳计算节点的嵌入。

gds.beta.graphSage.stream.estimate(G: Graph, **config: Any) Series[Any]

返回该过程的内存消耗估算。

gds.beta.graphSage.train(G: Graph, **config: Any) Tuple[MODEL_TYPE, Series[Any]]

GraphSage算法根据节点的特征和邻域归纳计算节点的嵌入。

gds.beta.graphSage.train.estimate(G: Graph, **config: Any) Series[Any]

返回该过程的内存消耗估算。

gds.beta.graphSage.write(G: Graph, **config: Any) Series[Any]

GraphSage算法根据节点的特征和邻域归纳计算节点的嵌入。

gds.beta.graphSage.write.estimate(G: Graph, **config: Any) Series[Any]

返回该过程的内存消耗估算。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.hashgnn.mutate()

gds.beta.hashgnn.mutate(G: Graph, **config: Any) Series[Any]

HashGNN 通过哈希和消息传递创建节点嵌入。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.hashgnn.mutate.estimate()

gds.beta.hashgnn.mutate.estimate(G: Graph, **config: Any) Series[Any]

HashGNN 通过哈希和消息传递创建节点嵌入。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.hashgnn.stream()

gds.beta.hashgnn.stream(G: Graph, **config: Any) DataFrame

HashGNN 通过哈希和消息传递创建节点嵌入。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.hashgnn.stream.estimate()

gds.beta.hashgnn.stream.estimate(G: Graph, **config: Any) Series[Any]

HashGNN 通过哈希和消息传递创建节点嵌入。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.node2vec.mutate()

gds.beta.node2vec.mutate(G: Graph, **config: Any) Series[Any]

Node2Vec算法根据随机游走计算节点的嵌入。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.node2vec.mutate.estimate()

gds.beta.node2vec.mutate.estimate(G: Graph, **config: Any) Series[Any]

返回该过程的内存消耗估算。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.node2vec.stream()

gds.beta.node2vec.stream(G: Graph, **config: Any) DataFrame

Node2Vec算法根据随机游走计算节点的嵌入。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.node2vec.stream.estimate()

gds.beta.node2vec.stream.estimate(G: Graph, **config: Any) Series[Any]

返回该过程的内存消耗估算。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.node2vec.write()

gds.beta.node2vec.write(G: Graph, **config: Any) Series[Any]

Node2Vec算法根据随机游走计算节点的嵌入。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.node2vec.write.estimate()

gds.beta.node2vec.write.estimate(G: Graph, **config: Any) Series[Any]

返回该过程的内存消耗估算。

gds.beta.pipeline.drop(pipeline: TrainingPipeline[PipelineModel]) Series[Any]

删除管道并释放其占用的资源。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.pipeline.drop()

gds.beta.pipeline.exists(pipeline_name: str) Series[Any]

检查给定管道是否存在于管道目录中。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.pipeline.exists()

gds.beta.pipeline.list(pipeline: TrainingPipeline[PipelineModel] | None = None) DataFrame

列出管道目录中包含的所有管道。

自版本 2.5.0 起已弃用: 自 GDS 服务器版本 2.5.0 起,您应改用端点 gds.pipeline.list()

gds.pipeline.drop(pipeline: TrainingPipeline[PipelineModel]) Series[Any]

删除管道并释放其占用的资源。

gds.pipeline.exists(pipeline_name: str) Series[Any]

检查给定管道是否存在于管道目录中。

gds.pipeline.list(pipeline: TrainingPipeline[PipelineModel] | None = None) DataFrame

列出管道目录中包含的所有管道。

gds.beta.pipeline.linkPrediction.create(name: str) Tuple[LPTrainingPipeline, Series[Any]]

在管道目录中创建链接预测管道。

gds.beta.pipeline.nodeClassification.create(name: str) Tuple[NCTrainingPipeline, Series[Any]]

在管道目录中创建节点分类训练管道。

gds.fastRP.mutate(G: Graph, **config: Any) Series[Any]

随机投影通过fastrp算法生成节点嵌入。

gds.fastRP.mutate.estimate(G: Graph, **config: Any) Series[Any]

随机投影通过fastrp算法生成节点嵌入。

gds.fastRP.stats(G: Graph, **config: Any) Series[Any]

随机投影通过fastrp算法生成节点嵌入。

gds.fastRP.stats.estimate(G: Graph, **config: Any) Series[Any]

随机投影通过fastrp算法生成节点嵌入。

gds.fastRP.stream(G: Graph, **config: Any) DataFrame

随机投影通过fastrp算法生成节点嵌入。

gds.fastRP.stream.estimate(G: Graph, **config: Any) Series]

随机投影通过fastrp算法生成节点嵌入。

gds.fastRP.write(G: Graph, **config: Any) Series[Any]

随机投影通过fastrp算法生成节点嵌入。

gds.fastRP.write.estimate(G: Graph, **config: Any) Series[Any]

随机投影通过fastrp算法生成节点嵌入。

gds.alpha.ml.oneHotEncoding(available_values: List[Any], selected_values: List[Any]) List[int]

以独热编码格式返回选定值的列表。

gds.hashgnn.mutate(G: Graph, **config: Any) Series[Any]

HashGNN 通过哈希和消息传递创建节点嵌入。

gds.hashgnn.mutate.estimate(G: Graph, **config: Any) DataFrame

返回该过程的内存消耗估算。

gds.hashgnn.stream(G: Graph, **config: Any) DataFrame

HashGNN 通过哈希和消息传递创建节点嵌入。

gds.hashgnn.stream.estimate(G: Graph, **config: Any) DataFrame

返回该过程的内存消耗估算。

gds.hashgnn.write(G: Graph, **config: Any) DataFrame

HashGNN 通过哈希和消息传递创建节点嵌入。

gds.hashgnn.write.estimate(G: Graph, **config: Any) DataFrame

返回该过程的内存消耗估算。

gds.node2vec.mutate(G: Graph, **config: Any) Series[Any]

Node2Vec算法根据随机游走计算节点的嵌入。

gds.node2vec.mutate.estimate(G: Graph, **config: Any) Series[Any]

返回该过程的内存消耗估算。

gds.node2vec.stream(G: Graph, **config: Any) DataFrame

Node2Vec算法根据随机游走计算节点的嵌入。

gds.node2vec.stream.estimate(G: Graph, **config: Any) Series[Any]

返回该过程的内存消耗估算。

gds.node2vec.write(G: Graph, **config: Any) Series[Any]

Node2Vec算法根据随机游走计算节点的嵌入。

gds.node2vec.write.estimate(G: Graph, **config: Any) Series]

返回该过程的内存消耗估算。