@ -300,38 +300,59 @@ export default defineComponent({
修改模型
< / a - b u t t o n >
< / template >
< a -descriptions size = "small" :column ="2 " bordered >
< a -descriptions size = "small" :column ="4 " bordered >
< a -descriptions -item label = "模型名称" >
{ { model ? . modelName } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "描述" >
{ { model ? . description || '暂无描述' } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "版本" >
{ { model ? . Cur_Version || 'v-test' } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "评估报告" >
暂无
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "创建人" >
{ { model ? . creator } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "创建时间" >
{ { model ? . createTime } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "备注" >
暂无
< a -descriptions -item label = "最近修改人" >
{ { model ? . modifier || '暂无' } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "最近修改时间" >
{ { model ? . modifiedTime || '暂无' } }
< / a - d e s c r i p t i o n s - i t e m >
< / a - d e s c r i p t i o n s >
< a -divider / >
< a -descriptions size = "small" :column ="4" bordered >
< a -descriptions -item label = "算法" >
{ { model ? . algorithm || 'PCA' } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "训练采样间隔" >
{ { model ? . sampling } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "参数个数" >
{ { model ? . pointInfo . length || '暂无' } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "最小主元贡献率" >
{ { model ? . rate } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "最小主元个数" >
{ { model ? . principal } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "模型性能" >
{ { model ? . precision } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "训练总时长(h)" >
{ { model ? . principal } }
< / a - d e s c r i p t i o n s - i t e m >
< a -descriptions -item label = "有效样本数" >
{ { model ? . principal } }
< / a - d e s c r i p t i o n s - i t e m >
< / a - d e s c r i p t i o n s >
< / a - c a r d >
< a -card title = "建模进度" :bordered ="false" >
< a -steps :current ="1" progress -dot size = "small" >
< a -step title = "参数配置" >
< template # description >
< div > { { model ? . creator } } < / div >
< p > { { model ? . createTime } } < / p >
< / template >
< / a - s t e p >
< a -step title = "训练模型" >
< template # description >
< p > { { model ? . createTime } } < / p >
< / template >
< / a - s t e p >
< a -step title = "评估完成" / >
< a -step title = "运行监测" / >
< / a - s t e p s >
< / a - c a r d >
< a -card :bordered ="false" >
@ -339,11 +360,7 @@ export default defineComponent({
< a -tab -pane key = "1" tab = "训练采样时间" >
< BasicTable @register ="trainTimeTable" >
< template # action = "{ record, index }" >
< a -button
type = "link"
danger
@ click = "handleDeleteTrainTime(index)"
>
< a -button type = "link" danger @click ="handleDeleteTrainTime(index)" >
删除
< / a - b u t t o n >
< / template >
@ -356,27 +373,21 @@ export default defineComponent({
< / a - c a r d >
< a -card title = "智能训练" :bordered ="false" >
< a -form layout = "inline" >
< div style = "display: flex; align-items: center;" >
< a -form layout = "inline" style = "flex: 1;" >
< a -form -item label = "模型预览时间范围" >
< a -range -picker
v - model : value = "historyTime"
show - time
@ change = "getHistory"
/ >
< a -range -picker v -model :value ="historyTime" show -time @change ="getHistory" / >
< / a - f o r m - i t e m >
< / a - f o r m >
< a -button type = "primary" style = "margin-left: auto;" >
模型训练
< / a - b u t t o n >
< / div >
< a -divider / >
< div
v - for = "(item, index) in historyList"
: key = "index"
class = "echart-box"
>
< div v-for ="(item, index) in historyList" :key="index" class="echart-box" >
< VueECharts
: ref = "(el) => setEchartsRef(el, index)"
: option = "getOption(item)"
autoresize
style = "width: 100%; height: 300px"
@ finished = "() => onChartFinished(index)"
: ref = "(el) => setEchartsRef(el, index)" : option = "getOption(item)" autoresize
style = "width: 100%; height: 300px" @ finished = "() => onChartFinished(index)"
@ brush - selected = "onBrushSelected"
/ >
< / div >