Skip to content

Commit fb06bd7

Browse files
committed
update the documents of Alink 1.5.6
1 parent b55a3ec commit fb06bd7

68 files changed

Lines changed: 702 additions & 373 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/cn/Pipeline 组件/ONNX/ONNX 模型预测 (OnnxModelPredictor).md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Python 类名:OnnxModelPredictor
2626

2727
组件使用的是 ONNX 1.11.0 版本,当有 GPU 时,自动使用 GPU 进行推理,否则使用 CPU 进行推理。
2828

29+
在 Windows 下运行时,如果遇到 ```UnsatisfiedLinkError```,请下载 [Visual C++ 2019 Redistributable Packages](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) 并重启,然后重新运行。
30+
2931
## 参数说明
3032

3133
| 名称 | 中文名称 | 描述 | 类型 | 是否必须? | 取值范围 | 默认值 |

docs/cn/Pipeline 组件/PyTorch/TorchScript 模型预测 (TorchModelPredictor).md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Python 类名:TorchModelPredictor
2222
- 输出列的数量需要与模型输出结果匹配。
2323
- 输出类型可以是 Alink ```Tensor``` 类型或者 Alink 支持的类型,如果从模型预测输出的结果转换到指定类型失败那么将报错;暂不支持列表或字典类型。
2424

25-
组件使用的是 PyTorch 1.8.1 版本,当有 GPU 时,自动使用 GPU 进行推理,否则使用 CPU 进行推理。
25+
组件使用的是 PyTorch 1.8.1 CPU 版本,如果需要使用 GPU 功能,可以自行替换插件文件。
26+
27+
在 Windows 下运行时,如果遇到 ```UnsatisfiedLinkError```,请下载 [Visual C++ 2015 Redistributable Packages](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) 并重启,然后重新运行。
2628

2729
## 参数说明
2830

docs/cn/Pipeline 组件/数据处理/Redis表查找 (LookupRedis).md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ Python 类名:LookupRedis
1818
| selectedCols | 选择的列名 | 计算列对应的列名列表 | String[] || | |
1919
| clusterMode | Not available! | Not available! | Boolean | | | false |
2020
| databaseIndex | Not available! | Not available! | Long | | | |
21-
| redisIP | Not available! | Not available! | String | | | |
21+
| pipelineSize | Not available! | Not available! | Integer | | | 1 |
2222
| redisIPs | Not available! | Not available! | String[] | | | |
2323
| redisPassword | Not available! | Not available! | String | | | |
24-
| redisPort | Not available! | Not available! | Integer | | | 6379 |
2524
| reservedCols | 算法保留列名 | 算法保留列 | String[] | | | null |
2625
| timeout | Not available! | Not available! | Integer | | | |
2726

docs/cn/批组件/ONNX/ONNX模型预测 (OnnxModelPredictBatchOp).md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Python 类名:OnnxModelPredictBatchOp
2626

2727
组件使用的是 ONNX 1.11.0 版本,当有 GPU 时,自动使用 GPU 进行推理,否则使用 CPU 进行推理。
2828

29+
在 Windows 下运行时,如果遇到 ```UnsatisfiedLinkError```,请下载 [Visual C++ 2019 Redistributable Packages](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) 并重启,然后重新运行。
30+
2931
## 参数说明
3032

3133
| 名称 | 中文名称 | 描述 | 类型 | 是否必须? | 取值范围 | 默认值 |

docs/cn/批组件/PyTorch/PyTorch模型预测 (TorchModelPredictBatchOp).md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Python 类名:TorchModelPredictBatchOp
2222
- 输出列的数量需要与模型输出结果匹配。
2323
- 输出类型可以是 Alink ```Tensor``` 类型或者 Alink 支持的类型,如果从模型预测输出的结果转换到指定类型失败那么将报错;暂不支持列表或字典类型。
2424

25-
组件使用的是 PyTorch 1.8.1 版本,当有 GPU 时,自动使用 GPU 进行推理,否则使用 CPU 进行推理。
25+
组件使用的是 PyTorch 1.8.1 CPU 版本,如果需要使用 GPU 功能,可以自行替换插件文件。
26+
27+
在 Windows 下运行时,如果遇到 ```UnsatisfiedLinkError```,请下载 [Visual C++ 2015 Redistributable Packages](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) 并重启,然后重新运行。
2628

2729
## 参数说明
2830

docs/cn/批组件/图/MetaPath游走 (MetaPathWalkBatchOp).md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ Python 类名:MetaPathWalkBatchOp
55

66

77
## 功能介绍
8-
MataPathWalk是描述随机游走的一种算法。在给定的图上,每次迭代过程中,点都会按照一定的metaPath转移到它的邻居上,
9-
转移到每个邻居的概率和连接这两个点的边的Type相关。通过这样的随机游走可以获得固定长度的随机游走序列,这可以类比自然语言中的句子。
8+
MataPathWalk [1] 是描述随机游走的一种算法。在给定的图上,每次迭代过程中,点都会按照一定的metaPath转移到它的邻居上,转移到每个邻居的概率和连接这两个点的边的Type相关。通过这样的随机游走可以获得固定长度的随机游走序列,这可以类比自然语言中的句子。
9+
10+
[1] Dong et al. metapath2vec: Scalable Representation Learning for Heterogeneous Networks. KDD2017.
1011

1112
## 参数说明
1213

docs/cn/批组件/图/随机游走 (RandomWalkBatchOp).md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ Python 类名:RandomWalkBatchOp
55

66

77
## 功能介绍
8-
RandomWalk是deepwalk中描述随机游走的一种算法
8+
RandomWalk是deepwalk [1] 中描述随机游走的一种算法
99
在给定的图上,每次迭代过程中,点都会转移到它的邻居上,转移到每个邻居的概率和连接这两个点的边的权重相关。
1010
通过这样的随机游走可以获得固定长度的随机游走序列,这可以类比自然语言中的句子。
1111

12+
[1] Bryan Perozzi et al. DeepWalk: online learning of social representations. KDD 2014.
13+
1214
## 参数说明
1315

1416
| 名称 | 中文名称 | 描述 | 类型 | 是否必须? | 取值范围 | 默认值 |

docs/cn/批组件/推荐/ItemCf训练 (ItemCfTrainBatchOp).md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ Python 类名:ItemCfTrainBatchOp
55

66

77
## 功能介绍
8-
ItemCF 是一种被广泛使用的推荐算法,用给定打分数据训练一个推荐模型,
9-
用于预测user对item的评分、对user推荐itemlist,或者对item推荐userlist。
10-
8+
ItemCF 是一种被广泛使用的协同过滤算法,用给定打分数据训练一个推荐模型,
9+
用于预测user对item的评分、对user喜欢的itemlist,或者对item推荐可能的userlist等。
1110

1211
## 参数说明
1312

docs/cn/批组件/推荐/ItemCf:ItemsPerUser推荐 (ItemCfItemsPerUserRecommBatchOp).md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ public class ItemCfItemsPerUserRecommBatchOpTest {
9393
```
9494

9595
### 运行结果
96-
user|prediction_result
97-
----|-----------------
98-
1|{"item":"[3]","score":"[0.23533936216582085]"}
99-
2|{"item":"[3]","score":"[0.38953648389671724]"}
100-
2|{"item":"[3]","score":"[0.38953648389671724]"}
101-
4|{"item":"[2]","score":"[0.17950184794838112]"}
102-
4|{"item":"[2]","score":"[0.17950184794838112]"}
103-
4|{"item":"[2]","score":"[0.17950184794838112]"}
96+
user| prediction_result
97+
----|------------------------------
98+
1| MTable(1,2)(item,score) <br> 3 &#124; 0.2353 <br>
99+
2| MTable(1,2)(item,score) <br> 3 &#124; 0.3895 <br>
100+
2| MTable(1,2)(item,score) <br> 3 &#124; 0.3895 <br>
101+
4| MTable(1,2)(item,score) <br> 2 &#124; 0.1795 <br>
102+
4| MTable(1,2)(item,score) <br> 2 &#124; 0.1795 <br>
103+
4| MTable(1,2)(item,score) <br> 2 &#124; 0.1795 <br>

docs/cn/批组件/推荐/UserCf训练 (UserCfTrainBatchOp).md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ Python 类名:UserCfTrainBatchOp
55

66

77
## 功能介绍
8-
UserCF 是一种被广泛使用的推荐算法,用给定打分数据训练一个推荐模型,
9-
用于预测user对item的评分、对user推荐itemlist,或者对item推荐userlist。
10-
8+
UserCF 是一种被广泛使用的协同过滤算法,用给定打分数据训练一个推荐模型,
9+
用于预测user对item的评分、对user推荐itemlist,或者对item推荐userlist等。
1110

1211
## 参数说明
1312

0 commit comments

Comments
 (0)