Skip to content

Commit c62bfc2

Browse files
authored
add ainode timer in 2.0.x tree timecho (#636)
1 parent 9806585 commit c62bfc2

File tree

7 files changed

+156
-0
lines changed

7 files changed

+156
-0
lines changed
88.4 KB
Loading
46.3 KB
Loading
130 KB
Loading

src/UserGuide/Master/Tree/User-Manual/AINode_timecho.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,46 @@ Total line number = 4
444444
445445
In the result set, each row's label corresponds to the output of the anomaly detection model after inputting each group of 24 rows of data.
446446
447+
### 4.6 AINode-Timer Model Import Steps
448+
1. Open the IoTDB CLI console and verify that the ConfigNode, DataNode, and AINode statuses are all ​Running.
449+
450+
Check command:
451+
```sql
452+
show cluster
453+
```
454+
455+
![](/img/ainode-timer-1.png)
456+
457+
2. Model file storage path: It is recommended to place the model files in the same directory as the AINode installation package.
458+
You may create a new folder to store model files.
459+
3. Register the model
460+
461+
Use the following SQL statement:
462+
463+
```sql
464+
create model <model_name> using uri <uri>
465+
```
466+
467+
Example (for the Timer model):
468+
469+
```sql
470+
create model Timer using uri <uri>
471+
```
472+
473+
Note: When importing the Timer model, the name must be "Timer" (case-sensitive), otherwise it will not be recognized by the IoTDB visualization console.
474+
475+
![](/img/ainode-timer-2.png)
476+
477+
4. Verify model registration success
478+
479+
Check command:
480+
481+
```sql
482+
show models
483+
```
484+
485+
![](/img/ainode-timer-3.png)
486+
447487
## 5. Privilege Management
448488
449489
When using AINode related functions, the authentication of IoTDB itself can be used to do a permission management, users can only use the model management related functions when they have the USE_MODEL permission. When using the inference function, the user needs to have the permission to access the source sequence corresponding to the SQL of the input model.

src/UserGuide/latest/User-Manual/AINode_timecho.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,46 @@ Total line number = 4
444444
445445
In the result set, each row's label corresponds to the output of the anomaly detection model after inputting each group of 24 rows of data.
446446
447+
### 4.6 AINode-Timer Model Import Steps
448+
1. Open the IoTDB CLI console and verify that the ConfigNode, DataNode, and AINode statuses are all ​Running.
449+
450+
Check command:
451+
```sql
452+
show cluster
453+
```
454+
455+
![](/img/ainode-timer-1.png)
456+
457+
2. Model file storage path: It is recommended to place the model files in the same directory as the AINode installation package.
458+
You may create a new folder to store model files.
459+
3. Register the model
460+
461+
Use the following SQL statement:
462+
463+
```sql
464+
create model <model_name> using uri <uri>
465+
```
466+
467+
Example (for the Timer model):
468+
469+
```sql
470+
create model Timer using uri <uri>
471+
```
472+
473+
Note: When importing the Timer model, the name must be "Timer" (case-sensitive), otherwise it will not be recognized by the IoTDB visualization console.
474+
475+
![](/img/ainode-timer-2.png)
476+
477+
4. Verify model registration success
478+
479+
Check command:
480+
481+
```sql
482+
show models
483+
```
484+
485+
![](/img/ainode-timer-3.png)
486+
447487
## 5. Privilege Management
448488
449489
When using AINode related functions, the authentication of IoTDB itself can be used to do a permission management, users can only use the model management related functions when they have the USE_MODEL permission. When using the inference function, the user needs to have the permission to access the source sequence corresponding to the SQL of the input model.

src/zh/UserGuide/Master/Tree/User-Manual/AINode_timecho.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,44 @@ Total line number = 4
441441
442442
其中结果集中每行的标签对应每24行数据为一组,输入该异常检测模型后的输出。
443443
444+
### 4.6 AINode-Timer模型导入操作步骤
445+
446+
1. 打开 IoTDB cli 控制台,检查 ConfigNode、DataNode、AINode 节点确保均为 Running。
447+
448+
检查命令:
449+
```sql
450+
show cluster
451+
```
452+
453+
![](/img/ainode-timer-1.png)
454+
455+
2. 模型文件存放路径:推荐放在 AINode 安装包相同文件夹下,可新建模型文件夹存放模型文件
456+
3. 注册模型语句
457+
458+
```sql
459+
create model <model_name> using uri <uri>
460+
```
461+
462+
示例:
463+
464+
```sql
465+
create model Timer using uri <uri>
466+
```
467+
468+
注意:导入 Timer 模型时名称需命名为“Timer”,否则无法被可视化控制台识别。
469+
470+
![](/img/ainode-timer-2.png)
471+
472+
4. 检查模型是否注册成功
473+
474+
检查命令:
475+
476+
```sql
477+
show models
478+
```
479+
480+
![](/img/ainode-timer-3.png)
481+
444482
## 5. 权限管理
445483
446484
使用AINode相关的功能时,可以使用IoTDB本身的鉴权去做一个权限管理,用户只有在具备 USE_MODEL 权限时,才可以使用模型管理的相关功能。当使用推理功能时,用户需要有访问输入模型的SQL对应的源序列的权限。

src/zh/UserGuide/latest/User-Manual/AINode_timecho.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,44 @@ Total line number = 4
441441
442442
其中结果集中每行的标签对应每24行数据为一组,输入该异常检测模型后的输出。
443443
444+
### 4.6 AINode-Timer模型导入操作步骤
445+
446+
1. 打开 IoTDB cli 控制台,检查 ConfigNode、DataNode、AINode 节点确保均为 Running。
447+
448+
检查命令:
449+
```sql
450+
show cluster
451+
```
452+
453+
![](/img/ainode-timer-1.png)
454+
455+
2. 模型文件存放路径:推荐放在 AINode 安装包相同文件夹下,可新建模型文件夹存放模型文件
456+
3. 注册模型语句
457+
458+
```sql
459+
create model <model_name> using uri <uri>
460+
```
461+
462+
示例:
463+
464+
```sql
465+
create model Timer using uri <uri>
466+
```
467+
468+
注意:导入 Timer 模型时名称需命名为“Timer”,否则无法被可视化控制台识别。
469+
470+
![](/img/ainode-timer-2.png)
471+
472+
4. 检查模型是否注册成功
473+
474+
检查命令:
475+
476+
```sql
477+
show models
478+
```
479+
480+
![](/img/ainode-timer-3.png)
481+
444482
## 5. 权限管理
445483
446484
使用AINode相关的功能时,可以使用IoTDB本身的鉴权去做一个权限管理,用户只有在具备 USE_MODEL 权限时,才可以使用模型管理的相关功能。当使用推理功能时,用户需要有访问输入模型的SQL对应的源序列的权限。

0 commit comments

Comments
 (0)