GaussDB高智能--库内AI引擎:模型管理&数据集管理

3.2 模型管理  

在机器学习算法进行训练后,生成的模型需要进行存储,以便后续推理进行使用。训练过程的时序图如下:

在训练过程中,最后一步是通过调用store_model接口,在系统表gs_model_warehouse中插入一条记录,用于存储该训练算法及超参信息,以便开发者和调用者观测模型训练的结果,方便定位和调优。

系统表gs_model_warehouse结构下表所示:

Name

Type

Describe

oid

oid

Hide Columns

modelname

text

Unique key

modelowner

oid

Function owner

createTime

timestamp

Model storage time

processedtuples

int

Number of tuples involved in training

discardedtuples

int

Number of unqualified tuples that do not participate in training

exectimemsecs

real

Execute times

iterations

int

Number of training iterations

outputtype

oid

store the return type of the model (text, bigint, real...)

modeltype

text

AI Operator Type

query

text

SQL statements for training models

modeldata

bytea

store binary model

weight

Real[]

Just in SGD algorithm

hyperparametersnames

text[]

Hyper parameters names

hyperparametersvalues

text[]

Hyper parameters values

hyperparametersoids

oid[]

Hyper parameters oids

coefnames

text[]

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Gauss松鼠会

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值