From c3af3bf223040399488360bcf54964e654a91d70 Mon Sep 17 00:00:00 2001 From: idwenwen <1095369685@qq.com> Date: Tue, 4 Jan 2022 17:42:12 +0800 Subject: [PATCH 1/3] Update fron-end code --- src/main/resources/static/index.html | 2 +- src/main/resources/static/static/js/chunk-0dbc.3675fe97.js | 1 + src/main/resources/static/static/js/chunk-0dbc.73ebe113.js | 1 - .../js/{chunk-2933.100f2ca9.js => chunk-2933.fa1918b6.js} | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 src/main/resources/static/static/js/chunk-0dbc.3675fe97.js delete mode 100644 src/main/resources/static/static/js/chunk-0dbc.73ebe113.js rename src/main/resources/static/static/js/{chunk-2933.100f2ca9.js => chunk-2933.fa1918b6.js} (75%) diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 2e43df9b..8f40e919 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -1 +1 @@ -
=0&&(l[a][d]=void 0===o[n]?"-":Object(s.b)(o[n])),h[n]||(l[a][d+"_disable"]=!0);for(var i=0;i =0&&(l[a][d]=void 0===o[n]?"-":Object(s.b)(o[n])),h[n]||(l[a][d+"_disable"]=!0);for(var i=0;i =0&&(l[a][d]=void 0===o[n]?"-":Object(s.b)(o[n])),h[n]||(l[a][d+"_disable"]=!0);for(var i=0;i=this.$_startIndex;if(this.$_continuous!==b){if(b){l.clear(),c.clear();for(var y=0,x=r.length;y
");var r=Array.isArray(t.data)?t.data[1]:t.data;e+="Precision("+t.seriesName+"):"+r+"
",e+="Recall("+t.seriesName+"):"+t.axisValue+"
"}),e},e.push({type:"chart",props:{group:a.map(function(t){return l()(t,1)[0]}),options:i,setting:s,legend:"custom"}})}),e.length>1?e:e[0]}},eOYL:function(t,e,n){"use strict";var a=n("FyfS"),r=n.n(a),i=n("ODRq"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("gDS+"),u=n.n(c),p=n("iCc5"),d=n.n(p),h=n("V7oC"),f=n.n(h),m={click:!0,mouseup:!0,mousemove:!0,mousedown:!0,mousewheel:!0},v=function(){function t(e,n,a){d()(this,t),this.canvasDom=e,this.interactive=function(){var t=JSON.parse(u()(m));for(var e in n)t[e]=n[e];return t}(),this.inited=!1,this.afterInit=a,this.width=0,this.height=0,this._inited()}return f()(t,[{key:"_inited",value:function(){var t=this;if(this.canvasDom){this._suitable();var e=!1;this.lay&&(e=!0,this.lay.deleteAllAboutChain()),this.lay=function(){if(t.canvasDom)return t.afterInit(t.canvasDom)}(),this.scaleTime=1,this.translateX=0,this.translateY=0,this.holding=!1,this.moved=!1,this.originPos=null,this.lay.emit("$translate",this.translateX,this.translateY),!e&&this.lay&&this._addEvents()}}},{key:"_suitable",value:function(){if(this.canvasDom&&this.canvasDom.parentElement){var t=this.canvasDom.parentElement,e=getComputedStyle(t),n=parseInt(e.width),a=parseInt(e.height);this.canvasDom.setAttribute("style","width:"+n+"px;height:"+a+"px;overflow:hidden;"),this.canvasDom.setAttribute("width",n),this.canvasDom.setAttribute("height",a),this.width=n,this.height=a,this.inited=!0}}},{key:"_addEvents",value:function(){if(this.inited){var t=this;t.canvasDom.addEventListener("mousedown",function(e){e.stopPropagation(),e.preventDefault(),t.holding=!0,t.moved=!1,t.interactive.mousedown.operation&&t.interactive.mousedown.operation(t.lay)}),t.canvasDom.addEventListener("mousemove",function(e){if(e.stopPropagation(),e.preventDefault(),t.holding)if(null===t.originPos)t.originPos=t._getPos(e);else{var n=t._getPos(e);if(n.x!==t.originPos.x||n.y!==t.originPos.y){t.moved=!0;var a=n.x-t.originPos.x,r=n.y-t.originPos.y;t.translateX+=a,t.translateY+=r,t.originPos=n,!0===t.interactive.mousemove?(t.lay.$ctx.translate(a,r),t.lay.emit("$translate",t.translateX,t.translateY),t.lay.drawing()):t.interactive.mousemove&&t.interactive.mousemove.operation(t.lay,t.holding,a,r)}}else{var i=t._getPos(e);!0===t.interactive.mousemove?t.lay.emit("showTips",i):t.interactive.mousemove&&t.interactive.mousemove.operation(t.lay,t.holding,i)}}),t.canvasDom.addEventListener("mouseup",function(e){e.stopPropagation(),e.preventDefault(),t.holding=!1,t.originPos=null,t.interactive.mouseup.operation&&t.interactive.mouseup.operation(t.lay)}),t.canvasDom.addEventListener("click",function(e){if(e.preventDefault(),t.moved)t.moved=!1;else{var n=t._getPos(e);if(t.interactive.click.beforeClick&&t.interactive.click.beforeClick(),t.interactive.click.operation)t.interactive.click.operation(t.lay,n);else if(!0===t.interactive.click)t.lay.emit("choose",n);else if(t.interactive.click.props){var a;(a=t.lay).emit.apply(a,["choose",n].concat(l()(t.interactive.click.props)))}}}),t.canvasDom.addEventListener("mouseout",function(e){e.stopPropagation(),e.preventDefault(),t.originPos=null,t.holding=!1,t.interactive.mouseout&&t.interactive.mouseout.operation(t.lay)});var e=function(e){e.stopPropagation(),e.preventDefault();var n=t._getPos(e),a=e.wheelDelta||24*-e.detail,r=t.scaleTime+a/1500,i=(r=r<=.1?.1:r)/t.scaleTime;t.scaleTime=r,!0===t.interactive.mousewheel?t.lay.emit("scale",i,n):t.interactive.mousewheel&&t.interactive.mousewheel.operation(t.lay,i,n)};/Firefox/i.test(window.navigator.userAgent)?t.canvasDom.addEventListener("DOMMouseScroll",e):t.canvasDom.addEventListener("mousewheel",e),window.addEventListener("resize",function(){setTimeout(function(){t.interactive.resize?(t._suitable(),t.interactive.resize()):t._inited()},10)})}}},{key:"_getPos",value:function(t){var e=void 0,n=void 0;return t.layerX||0===t.layerX?(e=t.layerX,n=t.layerY):(t.offsetX||0===t.offsetY)&&(e=t.offsetX,n=t.offsetY),{x:e,y:n}}},{key:"suitableForWhole",value:function(t,e,n){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!this.inited)return!1;n=n||20;var r=this,i=this.canvasDom.width-2*n,o=this.canvasDom.height-2*n,s=t.call(this.lay),l=o/s.height,c=i/s.width,u=l
"),n+=e+" ",Object(o.each)(t,function(t,e){n&&(n+="
"),n+=e+": "+t})}),n};var s=[],u=[],p=[];return Object(o.each)(r,function(t,e){var n=[c(t.auc.meta.curve_name,t.auc.data,{pairType:e}),c(t.ks.meta.curve_name,t.ks.data,{pairType:e})];s.push(e),p.push.apply(p,n)}),u.push({type:"chart",props:{options:p,setting:a,legend:"custom",group:s}}),u.length>1?u:u[0]}},hF9E:function(t,e,n){"use strict";var a=n("epZ/");n.n(a).a},hnh8:function(t,e,n){"use strict";n.r(e);var a=n("Ix4U");n.d(e,"default",function(){return a.default})},hzma:function(t,e,n){"use strict";var a=n("mLUo");n.n(a).a},iA7x:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTQgNiI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6IzAwY2JmZjt9LmJ7ZmlsbDojMDA4MWEyO308L3N0eWxlPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOTA4IC04MDEpIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjYiIHJ4PSIyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MDggODAxKSIvPjxyZWN0IGNsYXNzPSJiIiB3aWR0aD0iMiIgaGVpZ2h0PSIyIiByeD0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTEwIDgwMykiLz48cmVjdCBjbGFzcz0iYiIgd2lkdGg9IjIiIGhlaWdodD0iMiIgcng9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkxNCA4MDMpIi8+PHJlY3QgY2xhc3M9ImIiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHJ4PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MTggODAzKSIvPjwvZz48L3N2Zz4="},ikd3:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAA9UlEQVQ4jdXUIUtEQRSG4UejRqtNWBBkNIpFuGaNCjcpWAyCbPE3WBbBYBE0DWh0swMWMepFEBZsVqPWlYVZw8Jdl2WDDkw53+Ed3nNgprrdrkmc6YlQRgEVZdXs3d/6atWKstpCCwu59IZmiuF2JFBRVos4wSZecJqjIyyhjeMUw2stqCirM+zhExd4HHh4FfuYxWWK4bAfTGzYdWrnWK9Ru8fBULUB4PjDLsqqN+ANfOEmxfDUX32KoVWU1Qq2MYO7FEN7mNocdrCMDq5ytIsGnnGdYvgYVa2RgfO59J4BnXHV1rLawz9WqwH+qA3r+2P/Eb4BPfePrVMAU8IAAAAASUVORK5CYII="},j07e:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".condition[data-v-3daaa25f] {\n width: 360px;\n max-width: 360px;\n}\n.condition[data-v-3daaa25f] .el-input__inner {\n height: 24px;\n background: #F8F9FA;\n border: 2px solid transparent;\n}\n.is-error .condition[data-v-3daaa25f] .el-input__inner,\n .is-error .condition[data-v-3daaa25f] .el-input__inner:focus {\n border-color: #f56c6c;\n border-radius: 2px;\n}\n.is-success .condition[data-v-3daaa25f] .el-input__inner,\n .is-success .condition[data-v-3daaa25f] .el-input__inner:focus {\n border-color: transparent;\n}\n.label[data-v-3daaa25f] {\n color: #999BA3;\n margin-right: 15px;\n}\n[data-v-3daaa25f] .el-form-item {\n margin-bottom: 10px;\n}\n",""])},jElq:function(t,e,n){"use strict";function a(){return{color:["#878ada"],title:{text:"",textStyle:{color:"#606266",fontSize:16,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif'}},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"5%",bottom:"3%",containLabel:!0},backgroundColor:"#f8f8fa",yAxis:[{type:"category",data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}},{type:"category",offset:30,data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:[{type:"bar",barWidth:"20%",barGap:"-100%",itemStyle:{color:"#e8e8ef"},data:[],label:{show:!0,position:"right",color:"#999",formatter:null},tooltip:{show:!1}},{name:"value",type:"bar",barWidth:"20%",data:[]}]}}n.d(e,"b",function(){return a}),e.a={color:["#878ada"],title:{text:"",textStyle:{color:"#606266",fontSize:16,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif'}},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"5%",bottom:"3%",containLabel:!0},backgroundColor:"#f8f8fa",yAxis:[{type:"category",data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}},{type:"category",offset:30,data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:[{type:"bar",barWidth:"20%",barGap:"-100%",itemStyle:{color:"#e8e8ef"},data:[],label:{show:!0,position:"right",color:"#999",formatter:null},tooltip:{show:!1}},{name:"value",type:"bar",barWidth:"20%",data:[]}]}},jecE:function(t,e,n){"use strict";var a=n("RZZm");n.n(a).a},jiEp:function(t,e,n){var a=n("Ibv5");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("0eff5c3c",a,!0,{})},jkWR:function(t,e,n){var a=n("nVpJ");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("212490e7",a,!0,{})},kbN7:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t){var e=[];return t.forEach(function(t){e.push({type:"text",props:{content:t,className:"small-form-text"}})}),e},p=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var p,d,h,f,m,v,g,b;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(p=n.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(n.data,a,i,s,l))){t.next=18;break}return d={},h=[],f=[],m=p.shift(),t.next=8,Object(c.sendMetricsDataRequest)(m);case 8:return d=t.sent,v=d.data.meta,(g=function(t,e,n){t[e]&&h.push((n||e).replace(/_/g," ")+": "+t[e].toString())})(v,"model_id"),g(v,"model_version"),g(v,"component_name"),g(v,"step_index","checkpoint"),(b=u(h)).length>0&&f.push({type:"form",props:{form:[].concat(o()(b))}}),t.abrupt("return",[Object(c.wrapGroupComponent)(f)]);case 18:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},kjiq:function(t,e,n){"use strict";function a(){return{backgroundColor:"#fff",title:{text:""},tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{type:"dotted",color:"#ff9e1f"}}},legend:{show:!0,right:"5%",top:"3%",orient:"horizontal"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:[{type:"value",name:"Expected, Actual",splitArea:{show:!0,areaStyle:{color:"#ffffff"}},nameGap:8,axisLabel:{show:!0,interval:"auto",formatter:"{value} %"},splitNumber:5},{type:"value",name:"PSI",nameGap:8,splitArea:{show:!0,areaStyle:{color:"#ffffff"}},axisLabel:{},splitNumber:5}],xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}},axisLabel:{rotate:30,fontSize:12,color:"#999ba3"},nameGap:5},series:[]}}n.d(e,"b",function(){return a}),e.a={backgroundColor:"#fff",title:{text:""},tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{type:"dotted",color:"#ff9e1f"}}},legend:{show:!0,right:"5%",top:"3%",orient:"horizontal"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:[{type:"value",name:"Expected, Actual",splitArea:{show:!0,areaStyle:{color:"#ffffff"}},nameGap:8,axisLabel:{show:!0,interval:"auto",formatter:"{value} %"},splitNumber:5},{type:"value",name:"PSI",nameGap:8,splitArea:{show:!0,areaStyle:{color:"#ffffff"}},axisLabel:{},splitNumber:5}],xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}},axisLabel:{rotate:30,fontSize:12,color:"#999ba3"},nameGap:5},series:[]}},"l2+S":function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("QdnX"),o=[Object(i.createHeader)("jaccard_similarity_score","JC"),Object(i.createHeader)("fowlkes_mallows_score","FMI"),Object(i.createHeader)("adjusted_rand_score","RI")],s=[Object(i.createHeader)("davies_bouldin_index","DBI")];function l(t,e){return t.find(function(t){return t.prop===e})}function c(t){var e={};return Object(i.each)(t,function(t){e[t[0]]=t[1]}),[e]}function u(t,e,n){return[{type:"title",props:{content:n}},{type:"table",props:{header:t,data:e,export:n}}]}e.default=function(t,e){var n=[];for(var a in t){var i=t[a];l(o,i.data[0][0])?n.push.apply(n,r()(u(o,c(i.data),"External Index"))):n.push.apply(n,r()(u(s,c(i.data),"Internal Index")))}return n}},l489:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTQgNiI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6I2U2YjI1ODt9LmJ7ZmlsbDojYjcwO308L3N0eWxlPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOTA4IC04MDEpIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjYiIHJ4PSIyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MDggODAxKSIvPjxyZWN0IGNsYXNzPSJiIiB3aWR0aD0iMiIgaGVpZ2h0PSIyIiByeD0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTEwIDgwMykiLz48cmVjdCBjbGFzcz0iYiIgd2lkdGg9IjIiIGhlaWdodD0iMiIgcng9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkxNCA4MDMpIi8+PHJlY3QgY2xhc3M9ImIiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHJ4PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MTggODAzKSIvPjwvZz48L3N2Zz4="},lBJu:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("OjIB"),d=n("QdnX"),h=n("xjht"),f=n("uNnm"),m=n("evsm"),v=n("saIk");function g(t,e){e>-1&&t.length&&t.unshift({type:"form",props:{form:[{type:"text",props:{content:"The Final Model: iter "+e}}]}})}var b=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}},y=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,y,x,w,A,I,_,O,C,S,E,j,T,N,k,L,D,R,F,P,M,B;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=e.data.data||{},y=[],x=void 0,w={party_id:a,role:i,component_name:s,job_id:c},A=void 0,I=void 0,_=void 0,O=void 0,C=void 0,S=[],E=[],j=void 0,T=void 0,N=void 0,k=[],n&&!n.msg.match("no data")&&(n=Object(f.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)O=h.d.bind(null,l()({metrics:t.options},w));else if("iter"===t.name)j=h.d.bind(null,l()({metrics:t.options},w)),N=Object(m.b)("warmStart");else if("stepwise"===t.name)A=h.d.bind(null,l()({metrics:t.options},w)),_=Object(m.b)(t.name);else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(b(a,l()({metrics:e},w),h.d,Object(m.b)(t.name),Object(f.explainCurves)(a).name,!0))}),S.push([e,Object(p.createAsyncComponent)(n)])}})),u&&(L=u.weight,D=u.oneVsRestResult,g(x=D?Object(p.oneVsRestResultHandler)(u,i):Object(d.isEmpty)(L)?[]:Object(p.weightHandler)(u),u.bestIteration),x.length&&E.push(Object(p.wrapGroupComponent)(x))),S.length&&Object(d.each)(S,function(t){E.push(Object(p.wrapGroupComponent)(t))}),!O){t.next=22;break}return t.next=21,O();case 21:C=t.sent;case 22:if(C&&(R=Object(m.b)(v.METRIC_TYPES.EVALUATION_SUMMARY),F=R(C.data)||[],(P=(P=[].concat(o()(F))).length>0?Object(p.wrapGroupComponent)(P):null)&&(E.length>1?E.splice(1,0,P):E.push(P))),!A){t.next=27;break}return t.next=26,A();case 26:I=t.sent;case 27:if(_&&(y=_(I,i),E.push.apply(E,o()(y))),!j){t.next=32;break}return t.next=31,j();case 31:T=t.sent;case 32:return N&&(k=N(T),0===E.length?E.push(Object(p.wrapGroupComponent)(k)):E[0].options&&Array.isArray(E[0].options)?(M=E[0].options).unshift.apply(M,o()(k)):Array.isArray(E[0])&&(B=E[0]).unshift.apply(B,o()(k))),t.abrupt("return",E);case 34:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=y},lBxe:function(t,e,n){"use strict";var a=n("4d7F"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("gDS+"),l=n.n(s),c=n("FyfS"),u=n.n(c),p=n("ODRq"),d=n.n(p),h=n("GQeE"),f=n.n(h),m=n("iCc5"),v=n.n(m),g=n("V7oC"),b=n.n(g),y=n("mWkO"),x=n("m1cH"),w=n.n(x),A=n("UMXJ"),I=8,_=22,O="#ffffff",C="#4159D1",S="#0EC7A5",E="rgba(36,182,139,0.6)",j="rgba(187,187,200,0.6)",T="#FF4F38",N="#e8e8ef",k="#BBBBC8",L=4,D="#6A6C75",R="#ffffff",F="#534C77",P=16,M="arial",B="#999BA3",U="#494ECE",z=6,H=10,$=12,W=20,G=4,Y=2,V=2,Z=12,Q=5,X=6,J=4,K="rgba(127,125,142,0.7)",q="rgba(255,255,255,1)",tt="#E6B258",et="#bcf500",nt="#00cbff",at="#7F7D8E",rt="#7F7D8E",it={drawProgress:function(t,e,n){t.canvas=e?e.$canvas:t.canvas,t.struct=lt;var a=!0,r=null;if(e){n||(n=y.a.getUUID("progress"));var i=e.drawLayer(n,t);return a=!i.old,r=i.node,a&&it.type.RUNNING.match(r.type.toUpperCase())&&(it.animations.tictok.call(r),it.animations.loading.call(r)),n}return r=new y.a(t),it.type.RUNNING.match(r.type.toUpperCase())&&(it.animations.tictok.call(r),it.animations.loading.call(r)),r},clear:function(){this.$ctx.clearRect(0,0,this.$canvas.width,this.$canvas.height)},type:{UNRUN:"UNRUN|WAITING",RUNNING:"RUNNING",FAIL:"FAILED|ERROR|CANCELED",SUCCESS:"SUCCESS|COMPLETE"},events:{choose:function(t,e){var n=this;n.$here(t)?n.choose=!0:n.choose=!1,n.setCus("choose",function(){n.containerStyle=ot(n.type,!!n.choose,n.disable),n.contentStyle=ot(n.type,!!n.choose,n.disable,"content"),n.fontStyle=st(n.type,!!n.choose,n.disable),e&&"function"==typeof e&&e(n.text,n.$here(t))})},linkChoose:function(t,e){var n=this;if(n.$here(t)&&n.$visiable)return n.setCus("choose",function(){e&&"function"==typeof e&&e(n.$parent.text,n.$here(t),!0)}),"finish"},scale:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];var e=this;e._scale=(e._scale?e._scale:1)*t,e.setCus("scale",function(){e.contentFontSize=y.a.toFixed(e.contentFontSize*t),e.iconPadding=y.a.toFixed(e.iconPadding*t),e.betweenIconWithContent=y.a.toFixed(e.betweenIconWithContent*t),e.lineWidth=y.a.toFixed(e.lineWidth*t),e.portWidth=y.a.toFixed(e.portWidth*t),e.portHeight=y.a.toFixed(e.portHeight*t),e.portRadius=y.a.toFixed(e.portRadius*t),e.betweenPortWidthTooltip=y.a.toFixed(e.betweenPortWidthTooltip*t),e.radius=y.a.toFixed(e.radius*t)})},showTips:function(t){var e=this,n=function(n){var a=e.$children.get(n);a&&(a.$here(t)?a.setCus("showToolTip",function(){e.$children.get(n+"Tooltip").emit("$showing")}):e.$children.get(n+"Tooltip").$visiable&&a.setCus("hideTooltip",function(){e.$children.get(n+"Tooltip").emit("$hide")}))};if(e.input.length>0){var a=!0,r=!1,i=void 0;try{for(var o,s=u()(e.input);!(a=(o=s.next()).done);a=!0){n(o.value.name)}}catch(t){r=!0,i=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}}if(e.output.length>0){var l=!0,c=!1,p=void 0;try{for(var d,h=u()(e.output);!(l=(d=h.next()).done);l=!0){n(d.value.name)}}catch(t){c=!0,p=t}finally{try{!l&&h.return&&h.return()}finally{if(c)throw p}}}}},animations:{tictok:function(){var t=this;t.registerChainTranslate("tictok",!0,t.settingCus(function(){t.time.match(":")||(t.time=y.a.exchangeTime(t.time));var e=t.time.split(":"),n=parseInt(e[0]),a=parseInt(e[1]),r=parseInt(e[2]);r+1>=60?(r=0,a+1>=60?(a=0,n+=1):a+=1):r+=1,n=(n.toString().length<2?"0":"")+n,a=(a.toString().length<2?"0":"")+a,r=(r.toString().length<2?"0":"")+r,t.time=n+":"+a+":"+r},900))},loading:function(){var t=this,e=[];e.push(t.settingRGBA(t.contentStyle,"rgba(36,182,139,0)",function(e){t.contentStyle=e},500)),e.push(t.settingCus(function(){t.progress=0,t.contentStyle=ot(t.type||it.type.UNRUN,!!t.choose,t.disable,"content")})),e.push(t.settingNum(0,1,function(e){t.progress=e},3e3,20)),t.registerChainTranslate.apply(t,["loading",!0].concat(e))},toNewType:function(t,e){var n=this;if(t!==n.type){var a={toNewTypeContent:[],toNewTypeContainer:[],toNewTypeText:[]};t!==it.type.RUNNING&&(n.deleteChainTranslate("loading"),n.deleteChainTranslate("tictok"),a.toNewTypeContent.push(n.settingNum(n.progress||1,1,function(t){n.progress=t},200)));var r=ot(t,!!n.choose,n.disable,"content");a.toNewTypeContent.push(n.settingRGBA(n.contentStyle,r,function(t){n.contentStyle=t},200)),a.toNewTypeContent.push(n.settingCus(function(){n.type=t,t===it.type.RUNNING?(n.progress=0,n.time=y.a.exchangeTime(e)||n.time||"00:00:00",n.$children.get("time").$visiable||n.$children.get("time").emit("$showing"),it.animations.tictok.call(n),it.animations.loading.call(n)):n.$children.get("time").$visiable&&n.$children.get("time").emit("$hide"),t===it.type.SUCCESS||t===it.type.FAIL?(n.img=e,n.$children.get("icon").$visiable||n.$children.get("icon").emit("$showing")):n.$children.get("icon").$visiable&&n.$children.get("icon").emit("$hide"),t!==it.type.FAIL||n.$children.get("retryBtn").$visiable?n.$children.get("retryBtn").$visiable&&n.$children.get("retryBtn").emit("$hide"):n.$children.get("retryBtn").emit("$showing")}));var i=ot(t,!!n.choose,n.disable);a.toNewTypeContainer.push(n.settingRGBA(n.containerStyle,i,function(t){n.containerStyle=t},200));var o=st(t,!!n.choose,n.disable);for(var s in a.toNewTypeText.push(n.settingRGBA(n.fontStyle,o,function(t){n.fontStyle=t},200)),a)n.registerChainTranslate.apply(n,[s,!1].concat(w()(a[s])))}}}};function ot(t,e,n,a){return e?"content"===a&&t===it.type.RUNNING?n?j:E:C:n&&t!==it.type.UNRUN?N:n&&t===it.type.UNRUN?k:t===it.type.SUCCESS?S:t===it.type.RUNNING?"content"===a?n?j:E:S:t===it.type.FAIL?T:t===it.type.UNRUN?N:void 0}function st(t,e,n){return n&&t!==it.type.UNRUN?e?R:D:n&&t===it.type.UNRUN?e?R:F:t===it.type.SUCCESS?R:t===it.type.RUNNING?D:t===it.type.FAIL?R:t===it.type.UNRUN?D:void 0}function lt(){var t=this;t.choose=!!t.choose,t.contentFontSize=t.contentFontSize||P,t.padding=t.padding||_,t.tooltipRadius=t.tooltipRadius||J,t.iconPadding=t.iconPadding||H,t.betweenIconWithContent=t.betweenIconWithContent||z,t.lineWidth=t.lineWidth||I,t.portWidth=t.portWidth||(t.specialDataInput?W:$),t.portHeight=t.portHeight||G,t.portRadius=t.portRadius||Y,t.betweenPortWidthTooltip=t.betweenPortWidthTooltip||V,t.tooltipFont=t.tooltipFont||Z,t.tipTrangleSize=t.tipTrangleSize||Q,t.radius=t.radius||L,t.tooltipPadding=t.tooltipPadding||X,t.type===it.type.RUNNING&&(t.time=y.a.exchangeTime(t.time)||"00:00:00");var e=t.input,n=t.output,a=t.point.x||t.point[0]||0,r=t.point.y||t.point[1]||0,i=function(t,e,n,a){a&&(a.containerStyle=a.containerStyle||ot(t||it.type.UNRUN,!!e,n),a.contentStyle=a.contentStyle||ot(t||it.type.UNRUN,!!e,n,"content"),a.fontStyle=a.fontStyle||st(t||it.type.UNRUN,!!e,n));var r={container:{fillStyle:a?a.containerStyle:ot(t||it.type.UNRUN,!!e,n)},content:{fillStyle:a?a.contentStyle:ot(t||it.type.UNRUN,!!e,n,"content")},text:{font:a.contentFontSize+"px "+M,fillStyle:a.fontStyle},time:{font:.8*a.contentFontSize+"px "+M,fillStyle:B},link:{font:.8*a.contentFontSize+"px "+M,fillStyle:U,cursor:"pointer",underline:!0}};return a.style=r,a.style}(t.type,t.choose,t.disable,t),o=Object(A.b)(t.$ctx,t.text,i.text);i.container.fillStyle=t.containerLightUp||i.container.fillStyle;var s=t.width||Math.ceil(o.width)+2*t.padding+2*t.lineWidth,l=t.height||t.contentFontSize+t.padding,c=t.type,u=new d.a,p=l-t.iconPadding,h=t.betweenIconWithContent;if(y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s,height:l,radius:t.radius,style:i.container,fill:!0}},t,"container"),y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s-.6*t.lineWidth,height:l-.6*t.lineWidth,radius:t.radius,style:{fillStyle:O},fill:!0}},t,"containerInner"),y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s-.5*t.lineWidth,height:l-.5*t.lineWidth,progress:void 0!==t.progress?t.progress:1,radius:t.radius,style:i.content,fill:!0}},t,"content"),y.a.component.text.drawText({props:{point:{x:a,y:r},text:t.text,style:i.text,position:y.a.component.text.CENTER}},t,"text"),y.a.component.icon.drawIcon({props:{point:{x:a+s/2+h+p/2,y:r},width:p,img:t.img},visiable:!!t.img},t,"icon"),y.a.component.text.drawText({props:{point:{x:a+s/2+h,y:r},text:t.time,style:i.time},visiable:c===it.type.RUNNING},t,"time"),y.a.component.text.drawText({props:{point:{x:a+s/2+2*h+p,y:r},text:"retry",style:i.link},visiable:c===it.type.FAIL,events:{choose:it.events.linkChoose}},t,"retryBtn"),e.length>0)for(var f=e.length,m=r-l/2,v=0;v
",t.forEach(function(n,r){var i=n.data[1];e+="DBI"+(t.length>1?"("+n.seriesName+")":"")+": "+Object(a.b)(i)+"
"}),e}})(t.data)}},rS0t:function(t,e,n){"use strict";n.r(e);var a=n("OjIB");e.default=function(t,e){var n=e.model_type.toLowerCase().indexOf("homo")<0,r=t.data_split.meta,i=r.data_split_count_info,o=r.data_split_label_info,s=r.data_split_ratio_info,l=r.stratified,c=[],u={_total:!0},p=function(t,e,n){return t&&(e&&"guest"===n||!e)?[{type:"index",label:"index"},Object(a.createHeader)("layer"),Object(a.createHeader)("original count","original"),Object(a.createHeader)("train count","train"),Object(a.createHeader)("validate count","validate"),Object(a.createHeader)("test count","test")]:[{type:"index",label:"index"},Object(a.createHeader)("dataset"),Object(a.createHeader)("count"),Object(a.createHeader)("ratio")]}(l,n,e.role);if(l&&(n&&"guest"===e.role||!n))if(o.continuous_label)for(var d=function(t){var e=o.split_points[t],n="",a={};n=0===t?"(-∞,"+e+"]":t===o.split_points.length?"("+o.split_points[t-1]+",+∞)":"("+o.split_points[t-1]+","+e+"]",p.forEach(function(e){"index"!==e.type&&("layer"===e.prop?(a[e.prop]=n,0===t&&(u[e.prop]="Total")):(a[e.prop]=o[e.prop][t],0===t&&("original"!==e.prop?u[e.prop]=i[e.prop]+"("+(100*s[e.prop]).toFixed(4)+"%)":u[e.prop]=i[e.prop])))}),c.push(a)},h=0;h
"}),e}})(t.data)}},"sYD+":function(t,e,n){"use strict";n.r(e);var a=n("P2sY"),r=n.n(a),i=n("sk9p"),o=n.n(i),s=n("7Qib"),l=n("QdnX");e.default=function(t,e,n){var a=[Object(l.createHeader)("metric_name",""),Object(l.createHeader)("metric_namespace","dataset",{sortable:!n})],i=Object(l.flattenToTable)(t,function(t,e,i,c,u){0===u&&Object(l.each)(t.data,function(t){var e=o()(t,1)[0];a.push(Object(l.createHeader)(e,e,{sortable:!n}))});var p={metric_name:e.replace(i.metric_namespace+"_",""),metric_namespace:c};return r()(p,Object(s.d)(t.data))}),c={type:"form",props:{form:[{type:"title",props:{title:n?"Evaluation Scores":"Performance Scores"}}]}};Object(l.sortByName)(i,"metric_name");var u=[c,{type:"table",props:{header:a,data:i,pageSize:20,zeroFormat:"0",export:n?"evaluation_scores":"performance_scores"}}];return e&&(a.push(Object(l.createHeader)("precision","precision"),Object(l.createHeader)("recall","recall")),c.props.form.splice(1,1,{type:"f-range",props:{label:"Quantile",max:1,min:0,step:.05,value:.5,tip:"Update Precision and Recall under the new quantile condition"}}),Object(l.each)(i,function(t){var n=e[t.metric_namespace]&&e[t.metric_namespace][t.metric_name+"_quantile_pr"];if(n&&n.meta){var a=n.meta;r()(t,{thresholds:a.thresholds,precision:a.p_scores.map(function(t,e){return[.05*e,o()(t,2)[1]]}),recall:a.r_scores.map(function(t,e){return[.05*e,o()(t,2)[1]]})})}})),u}},saIk:function(t,e,n){"use strict";n.r(e),n.d(e,"MODEL_TYPES",function(){return a}),n.d(e,"METRIC_TYPES",function(){return r});var a={HomoLR:"HomoLR",HeteroLR:"HeteroLR",HeteroLinR:"HeteroLinR",LocalBaseline:"LocalBaseline",DataIO:"DataIO",Evaluation:"Evaluation",HeteroSecureBoost:"HeteroSecureBoost",HeteroFeatureBinning:"HeteroFeatureBinning",HeteroFeatureSelection:"HeteroFeatureSelection",FeatureScale:"FeatureScale",FederatedSample:"FederatedSample",OneHotEncoder:"OneHotEncoder",HeteroPoisson:"HeteroPoisson",HomoNN:"HomoNN",HeteroNN:"HeteroNN",HeteroPearson:"HeteroPearson",HomoSecureboost:"HomoSecureboost",HeteroFM:"HeteroFM",HomoFM:"HomoFM",HeteroMF:"HeteroMF",HeteroSVD:"HeteroSVD",HeteroSVDPP:"HeteroSVDPP",HeteroGMF:"HeteroGMF",SBTFeatureTransformer:"SBTFeatureTransformer"},r={DATAIO_TABLE:"DATAIO_TABLE",SCALE:"SCALE",LOSS:"LOSS",DATAIO_TEXT:"DATAIO_TEXT",SAMPLE_TEXT:"SAMPLE_TEXT",SAMPLE_TABLE:"SAMPLE_TABLE",INTERSECTION:"INTERSECTION",KS_EVALUATION:"KS_EVALUATION",ROC_EVALUATION:"ROC_EVALUATION",LIFT_EVALUATION:"LIFT_EVALUATION",GAIN_EVALUATION:"GAIN_EVALUATION",ACCURACY_EVALUATION:"ACCURACY_EVALUATION",RECALL_BINARY_EVALUATION:"RECALL_BINARY_EVALUATION",PRECISION_BINARY_EVALUATION:"PRECISION_BINARY_EVALUATION",RECALL_MULTI_EVALUATION:"RECALL_MULTI_EVALUATION",PRECISION_MULTI_EVALUATION:"PRECISION_MULTI_EVALUATION",EVALUATION_SUMMARY:"EVALUATION_SUMMARY",UNION:"UNION",UPLOAD:"UPLOAD",DOWNLOAD:"DOWNLOAD",RSA:"RSA",STEPWISE:"STEPWISE",F1_SCORE:"F1_SCORE",CONFUSION_MAT:"CONFUSION_MAT",QUANTILE_PR:"QUANTILE_PR",PSI:"PSI",CLUSTERING_EVALUATION_SUMMARY:"CLUSTERING_EVALUATION_SUMMARY",DISTANCE_MEASURE:"DISTANCE_MEASURE",DBI:"DBI",CONTINGENCY_MATRIX:"CONTINGENCY_MATRIX",SAMPLE_WEIGHT:"SAMPLE_WEIGHT",PERFORMANCE_SUM:"PERFORMANCE_SUM",SBT_FEATURE_TRANSFORMER:"SBT_FEATURE_TRANSFORMER",OVR:"ovr"}},sqJL:function(t,e,n){"use strict";function a(){return{backgroundColor:"#ffffff",tooltip:{trigger:"item",triggerOn:"mousemove",formatter:function(t){var e="";return t.data.name.split("\n").forEach(function(t,n,a){e+=t,n
");var m=!1,v=0,g=0;if(r.forEach(function(e){e.seriesName===t.tpr&&(n+=t.tpr+": "+e.data[1]+"
",v=e.data[1],m=!0),e.seriesName===t.fpr&&(n+=t.fpr+": "+e.data[1]+"
",g=e.data[1])}),m){var b=v-g;n+="KS: "+Math.abs(Object(c.b)(b))+"
"}}}),n}}(a),n=n.sort(function(t,e){return e.name&&t.name&&e.name.match("tpr")&&t.name.match("fpr")?1:t.name?-1:1}),i.push({type:"chart",props:{options:n,setting:e,legend:"custom",group:s}}),i.length>1?i:i[0]}},"1sAi":function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=Object(a.default)("roc",{yAxis:{name:"tpr"}},{areaStyle:{color:"#494ece",opacity:.1}},function(t){var e=t.thresholds;return function(t){var n="";return t.forEach(function(t){var a=e[t.seriesName][t.dataIndex];(a||0===a)&&(n+="Threshold: "+a+"
"),n+="Tpr("+t.seriesName+"): "+t.data[1]+"
",n+="Fpr("+t.seriesName+"): "+t.axisValue+"
"}),n}})},"2mqv":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("uNnm"),u=n("evsm"),p=n("QdnX"),d=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l,d){var h,f,m,v;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(h={party_id:a,role:i,component_name:s,job_id:l,model_type:d},f=[],m=void 0,n&&!n.msg.match("no data")&&(n=Object(c.default)(n.data),Object(p.each)(n,function(t){"others"===t.name&&(m=(m=Object(u.b)(t.name)).bind(null,t,h))})),!m){t.next=9;break}return t.next=7,m();case 7:v=t.sent,f.push.apply(f,o()(v));case 9:return t.abrupt("return",f);case 10:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o,s){return t.apply(this,arguments)}}();e.default=d},"3Q/S":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t){var e=[];return t.forEach(function(t){e.push({type:"text",props:{content:t}})}),e},p=function(){var t=l()(r.a.mark(function t(e,a,i,s,l,p){var d,h,f,m;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(d=a.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(a.data,i,s,l,p))){t.next=10;break}return h={},f=[],m=d.shift(),t.next=7,Object(c.sendMetricsDataRequest)(m);case 7:return h=t.sent,f=Object(c.textTransform)(h.data.data),t.abrupt("return",[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[].concat(o()(u(f)))}}]}]);case 10:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},"3cDs":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("xjht"),d=n("QdnX"),h=n("evsm"),f=n("saIk"),m=n("OjIB"),v=n("uNnm"),g=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,g,y,x,w,A,I,_,O,C,S,E,j,T,N,k,L,D;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=[],g={party_id:a,role:i,component_name:s,job_id:c},y=void 0,x=void 0,w=[],A=void 0,I=void 0,_=void 0,O=[],C=void 0,S=void 0,E=void 0,j=[],n&&!n.msg.match("no data")&&(n=Object(v.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)y=p.d.bind(null,l()({metrics:t.options},g));else if("iter"===t.name)C=p.d.bind(null,l()({metrics:t.options},g)),E=Object(h.b)("warmStart");else if("stepwise"===t.name)A=p.d.bind(null,l()({metrics:t.options},g)),_=Object(h.b)(t.name);else if("curves"===t.name||"loss"===t.name||"dbi"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(b(a,l()({metrics:e},g),p.d,Object(h.b)(t.name),Object(v.explainCurves)(a).name,!0))}),w.push([e,Object(m.createAsyncComponent)(n)])}})),w.length&&Object(d.each)(w,function(t){u.push(Object(m.wrapGroupComponent)(t))}),!y){t.next=19;break}return t.next=18,y();case 18:x=t.sent;case 19:if(x&&(T=Object(h.b)(f.METRIC_TYPES.EVALUATION_SUMMARY),N=T(x.data)||[],(k=(k=[].concat(o()(N))).length>0?Object(m.wrapGroupComponent)(k):null)&&(u.length>1?u.splice(1,0,k):u.push(k))),!A){t.next=24;break}return t.next=23,A();case 23:I=t.sent;case 24:if(_&&(O=_(I,i),u.push.apply(u,o()(O))),!C){t.next=29;break}return t.next=28,C();case 28:S=t.sent;case 29:return E&&(j=E(S),0===u.length?u.push(Object(m.wrapGroupComponent)(j)):u[0].options&&Array.isArray(u[0].options)?(L=u[0].options).unshift.apply(L,o()(j)):Array.isArray(u[0])&&(D=u[0]).unshift.apply(D,o()(j))),t.abrupt("return",u);case 31:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),b=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};e.default=g},"3lD8":function(t,e,n){var a=n("K4j0");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("2ace0298",a,!0,{})},"4rwF":function(t,e,n){"use strict";var a=n("m1cH"),r=n.n(a),i={methods:{change:function(t){this.$emit("change",t)},refOpera:function(t,e){for(var n,a=!0,i=arguments.length,o=Array(i>2?i-2:0),s=2;s=I||0===A){var _=c[A],O=u[A],C=d[A],S=h[A];v.push([I,m[A]]),g.push([I,C+"("+(C/p(_,O,C,S)*100).toFixed(4)+"%)"]),b.push([I,O+"("+(O/p(_,O,C,S)*100).toFixed(4)+"%)"]),y.push([I,_+"("+(_/p(_,O,C,S)*100).toFixed(4)+"%)"]),x.push([I,S+"("+(S/p(_,O,C,S)*100).toFixed(4)+"%)"]),w+=1}else A-=1}s.push(r()({labels:"0",0:g,1:b,f1score:v},l)),s.push(r()({labels:1,0:y,1:x,f1score:v},l))})}),[{type:"form",props:{form:[{type:"title",props:{title:"Confusion Matrix"}},{type:"f-range",props:{label:"Classification Threshold",max:1,min:0,step:.01,value:.5,tip:"Update the confusion matrix information under the new threshold condition"}}]}},{type:"table",props:{header:n,data:s,pageSize:"all",zeroFormat:"0",export:"confusion_matrix"}}]}},"7PkD":function(t,e,n){"use strict";n.r(e);var a=n("oF3Q"),r=n.n(a),i=n("QbLZ"),o=n.n(i),s=n("EJiy"),l=n.n(s),c=n("sk9p"),u=n.n(c),p=n("P2sY"),d=n.n(p),h=n("7Qib"),f=n("sqJL"),m=n("UOeh"),v=n("jElq"),g=n("QdnX"),b=n("tPEI");e.default=Object(g.wrap)(function(t){var e=t.responseData,n=t.role,a=t.partyId,i=t.outputType,s={},c=e.featureNameFidMapping,p=e.featureImportances,y=e.trees,x=e.classes,w=e.treeDim,A=w<3?1:w,I=Object(g.makeArray)(A,function(){return[]}),_=Object(g.makeArray)(A,function(){return[]}),O=0;Object(g.each)(y,function(t,e){var r=e%A;I[r].push(Object(b.default)(t.tree,n,a,c,t.splitMaskdict,t.missingDirMaskdict,i)),_[r].push([parseInt(e/A),t.tree.length]),0===r&&t.tree.length>O&&(O=t.tree.length)});var C=Object(g.head)(I),S=Object(g.head)(_),E=Object(f.b)(),j=Object(m.b)(),T=Object(g.head)(C);if(E.series.data=T.data,j.series.data=S,j.series.markLine.data[0][1].coord[1]=O,d()(s,{treeOptions:E,currentTreeData:{id:T.data[0].treeid,size:T.size,maxDepth:T.maxDepth,treeWidth:T.treeWidth},treesOverviewData:C,maxTreeSize:O,treesLineData:j}),w>=3){s.allTreesOverviewData=I,s.allTreesLineSeriesData=_;var N=[];"guest"===n?Object(g.each)(x,function(t,e){var n=e+": "+t;N.push({value:e,label:n})}):"host"===n&&Object(g.each)(w,function(t){N.push({value:t,label:t})}),s.classOptions=N}if(p&&p.length>0){var k=p.length,L=Object(v.b)(),D=new Array(k),R=new Array(k),F=void 0,P=new Array(k),M=0,B=new Array(k);p.forEach(function(t,e){var r=k-e-1,i=t.importance;D[r]=i,(null==F||i>F)&&(F=i);var o=t.sitename.split(":"),s=u()(o,2),p=s[0],d=s[1],h=p===n&&d===a?c[t.fid]:t.fid+"";P[r]=h;var f=h?h.toString().length:(void 0===h?"undefined":l()(h)).length;f>M&&(M=f),B[r]=t.sitename}),P=P.map(function(t){return t||(t=void 0===t?"undefined":l()(t)),t.toString().padEnd(M," ")}),R.fill(F),L.series[0].data=R,L.series[1].data=D,L.series[1].name="importance",L.series[0].label.formatter=function(t){return Object(h.b)(D[t.dataIndex])},L.yAxis[0].data=P,L.yAxis[1].data=B,s.variableImportanceOptions=L;var U=p.map(function(t){if((t=o()({},t)).sitename.indexOf("host")>-1&&n.indexOf("host")<0){var e=t.sitename.match(/[0-9]+$/)[0];e&&(t.name="host_"+e+"_"+t.fid)}else t.name=c[t.fid];return t});s.featureTable={tBody:U}}if(c){var z=r()(c);if(z.length){var H=z.map(function(t){var e=u()(t,2),r=e[0];return{variable:e[1],featureIndex:n+"_"+a+"_"+r}});s.featureHostTable={tHeader:[{label:"variable",prop:"variable"},{label:"anonym in guest",prop:"featureIndex"}],tBody:H}}}return{importance:{type:"table",name:"importance",props:{data:s.featureTable?s.featureTable.tBody:[]}},featureHostTable:{type:"table",props:{name:"featureHostTable",header:s.featureHostTable.tHeader,data:s.featureHostTable.tBody}},treesLine:{type:"chart",name:"treesLineData",props:{options:s.treesLineData}},treeOptions:{type:"chart",name:"treeOptions",props:{options:s.treeOptions,zoom:!0}}}})},"8NUx":function(t,e,n){"use strict";n.r(e);var a=n("QdnX"),r=n("OjIB"),i=[{type:"index",label:"index",width:"70px"},{label:"leaf_id",prop:"leafId",showOverflowTooltip:!0},{label:"transformed_vector",prop:"vector",showOverflowTooltip:!0}],o=function(t,e){var n=function(t,e){var n=[];return Object(a.each)(t,function(t,a){n.push({leafId:t,vector:e[a]})}),n}(t,e),r=[],i={};return Object(a.each)(n,function(t){var e=function(t){return t.split("_")[1]}(t.vector),n="s_"+e;i[n]||(i[n]=[],r.push({label:e,value:n})),i[n].push(t)}),r.length>1?{selection:r,content:i}:{content:i[r[0].value]}};e.default=function(t){if(t&&t.sbt_transformer&&t.sbt_transformer.leaf_mapping){var e=[],n=t.sbt_transformer.leaf_mapping.meta,a=n.feat_name,s=n.index,l=o(s,a);return l.selection&&l.selection.length>1&&function(t,e){t.push({type:"form",props:{form:[Object(r.createFormComponent)("f-select","f-select",{options:e,label:"transformer_tree_id"})]}})}(e,l.selection),function(t,e){t.push({type:"table",props:{header:i,data:e,zeroFormat:"0",export:"sbt_feature_transformer"}})}(e,l.content),e}}},"8csx":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},"8gZQ":function(t,e,n){"use strict";n.r(e),n.d(e,"combineForPerformanceSum",function(){return h});var a=n("YEIV"),r=n.n(a),i=n("GQeE"),o=n.n(i),s=n("QdnX"),l=n("evsm"),c=n("saIk"),u=n("OjIB"),p=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};function d(t,e){var n={type:"form",props:{form:[{type:"f-tabs",props:{tabs:[function(t){var e={label:"Performance Summary"},n=o()(t);return n.length>1?e.children=function(){var t=[];return Object(s.each)(n,function(e){t.push({label:e,value:"ps_"+e})}),t}():e.value="ps_"+n[0],e}(t)],needRefresh:!1}}]}},a=function(t,e){var n=[];return Object(s.each)(t,function(t,a){n.push(p("ps_"+a,{metrics:r()({},a,t),xAyis:e},null,Object(l.b)(c.METRIC_TYPES.PERFORMANCE_SUM),"performance_summary",!0))}),n}(t,e);return[n,Object(u.createAsyncComponent)(a,!1)]}function h(t){var e=(t.props?t.props:t[1].props).data,n={},a=[],r=!1;return Object(s.each)(e,function(t){if(!r){var e=t.metric_namespace;n[e]=n[e]||{},t.auc||t.ks||(r=!0);var i=t.metric_name.toLowerCase();i.match("fold")&&i.match("iteration")||(!n[e].auc&&t.auc&&(n[e].auc={data:[],meta:{curve_name:"auc"}}),n[e].auc.data.push([t.metric_name,t.auc]),!n[e].ks&&t.ks&&(n[e].ks={data:[],meta:{curve_name:"ks"}}),n[e].ks&&n[e].ks.data.push([t.metric_name,t.ks]),a.push(t.metric_name))}}),r?[]:d(n,a)}},"8lCB":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAaElEQVQ4jWP8//8/AzUAE1VMoaZBLNgEj588i9e/lubGjOhiKGF0/OTZmVBmGgEHzIIamA4XARkEw8dOnJmJzMeH0dXSNowY8IQTtvDBaxAuDcPQRYQMppqLaBf9SKmbJDBcixEGBgYApxhYv2+ITlEAAAAASUVORK5CYII="},"8nZS":function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("EJiy"),l=n.n(s),c=n("QbLZ"),u=n.n(c),p=n("UasS"),d=n("QdnX"),h=n("OjIB"),f=function(t,e,n,a){return u()({type:t,name:e,props:n},a)},m=function(t,e,n){return null==e&&(e=t),"object"===(void 0===e?"undefined":l()(e))&&null==n&&(n=e),o()({prop:t,label:e},n)},v=function(t,e){return{label:t,value:e||t}};e.default=function(t,e,n,a){if(t.msg.toString().toLowerCase().match("no data"))return[];var i=t.data&&t.data.data,s=i.binningResult,l=i.hostResults,c=i.header,u=(t.data&&t.data.meta&&t.data.meta.meta_data).skipStatic,g=s,b=0,y="",x=[],w=[],A=void 0;if(Array.isArray(g)){var I=Object(d.head)(g);b=I.partyId,y=I.role,g=I.binningResult||{}}else b=g.partyId,y=g.role,g=g.binningResult;if(Object(d.isEmpty)(g)&&Object(d.isEmpty)(l))return[];var _=Object(p.default)(g,c,"guest",b,y,y,u),O=[],C=[];Object(d.each)(c,function(t){Object(d.each)(_.sourceData,function(e){if(t===e.variable)return O.push(e),!1}),Object(d.each)(_.options,function(e){if(t===e.value)return C.push(e),!1})}),_.sourceData=O,_.options=C,A=_,Object(d.each)(l,function(t,e){w.push(Object(p.default)(t.binningResult,c,"host",t.partyId,t.role,y,u)),x.push(t.partyId||e)});var S=void 0,E={},j=[f("search")],T=void 0,N=o()({},A.eventOptions),k=o()({},A.woeOptions),L=o()({},A.stackBarData),D=o()({},A.woeData);if(Object(d.each)(A.options,function(t){Object(d.each)(A.variableData,function(e,n){if(n===t.value)return E[t.value]=e,!1})}),"guest"===y){x.length>0?(j.push(f("f-select","tableSelection",{options:[v("guest"),v("host",x.map(function(t){return{label:t,value:t}}))],multiple:!0})),S={guest:A.sourceData}):S=A.sourceData;var R={guest:A.options};Object(d.each)(x,function(t,e){var n=w[e];S[t]=n.sourceData,R[t]=n.options;var a=n.variableData;Object(d.each)(n.options,function(t){Object(d.each)(a,function(e,a){if(t.value===a)return E[t.value=t.label]=e,N[t.value]=n.eventOptions[a],k[t.value]=n.woeOptions[a],L[t.value]=n.stackBarData[a],D[t.value]=n.woeData[a],!1})})});var F="";F=x.length>0?[v("guest",R.guest),v("host",x.map(function(t){return{label:t,value:R[t]}}))]:R.guest,T=[f("f-select","f-select",{options:F,supportFilter:!0})]}else T=[f("f-select","f-select",{options:A.options,supportFilter:!0})],S=A.sourceData;var P=[m("","index",{type:"index"}),m("variable","variable",{sortable:!0}),m("binning_count","binning_count",{sortable:!0})],M=[{type:"form",props:{form:T,toProperty:"select"}},{type:"table",props:{header:[m("","index",{type:"index"}),m("binning")],data:E,zeroFormat:"0",export:"feature_binning_detail"}}];if("guest"===y){var B=!0;for(var U in L){var z=L[U];r()(z)<=0&&(B=!1)}B&&M.push({type:"chart",name:"stackBar",props:{setting:N,options:L,export:"instance_distribution",detail:!1}});var H=!0;for(var $ in D){var W=D[$];r()(W)<=0&&(H=!1)}H&&M.push({type:"chart",name:"woe",props:{setting:k,options:D,export:"woe",detail:!1}})}return[[{type:"form",props:{form:j,toProperty:"tableSelection"}},{type:"table",props:{header:P,data:S,zeroFormat:"0",export:"feature_summary"}}],M].map(function(t){return Object(h.wrapGroupComponent)(t)})}},BCMh:function(t,e,n){"use strict";n.r(e);var a=n("sk9p"),r=n.n(a),i=n("QdnX"),o=n("evsm"),s=n("saIk"),l=function(t){return function(e){return t.includes(e)}},c=l([s.METRIC_TYPES.RECALL_MULTI_EVALUATION,s.METRIC_TYPES.PRECISION_MULTI_EVALUATION]),u=l([s.METRIC_TYPES.RECALL_BINARY_EVALUATION,s.METRIC_TYPES.PRECISION_BINARY_EVALUATION]);e.default=function(t){var e={};Object(i.each)(t.data,function(t,n){var a=Object(i.groupBy)(t,"meta.metric_type");Object(i.each)(a,function(t){var a=r()(t,2),i=a[0],o=a[1],s=i;c(i)?s="_multiEvaluation":u(i)&&(s="_binaryEvaluation"),e[s]||(e[s]={}),e[s][n]?e[s][n]=e[s][n].concat(o):e[s][n]=o})});var n=[];return Object(i.each)(e,function(t,e){var a=Object(o.b)(e);n.push(a(t))}),console.log(n),n}},BSnc:function(t,e,n){var a=n("+2Yw");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("0767c020",a,!0,{})},Bw9L:function(t,e,n){"use strict";var a=n("BSnc");n.n(a).a},C98N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".log-content[data-v-4d72c288] {\n height: 100%;\n white-space: pre-wrap;\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n}\n.log-contents[data-v-4d72c288] {\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n position: absolute;\n width: 100%;\n background: #fff;\n}\n.log-contents .log-lineNum[data-v-4d72c288] {\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n color: #c6c8cc;\n min-width: 50px;\n margin-right: 20px;\n font-size: 12px;\n text-align: left;\n line-height: 20px;\n}\n.log-contents .log-content[data-v-4d72c288] {\n color: #999ba3;\n font-size: 12px;\n text-align: left;\n text-indent: initial;\n line-height: 20px;\n}\n.log-tip[data-v-4d72c288] {\n width: 100%;\n text-align: center;\n color: #999ba3;\n}\n",""])},CQmJ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".combination__container[data-v-7a2005ca] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.template_nodata[data-v-7a2005ca] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n min-height: 200px;\n font-size: 1.45em;\n font-weight: bold;\n}\n",""])},CX6U:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".small-form-text {\n font-size: 12px !important;\n font-weight: normal !important;\n}\n.dialog-content {\n position: relative;\n height: 100%;\n}\n.dialog-content .report {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n}\n.dialog-content .dialog-tabs {\n margin: 0px;\n padding: 0 10px 10px 24px;\n height: 100%;\n background: #fff;\n}\n.dialog-content .dialog-tabs .el-tabs__content {\n height: calc(100% - 40px);\n}\n.dialog-content .dialog-tabs .el-tabs__content .el-tab-pane {\n height: 100%;\n width: 100%;\n padding-right: 12px;\n position: relative;\n overflow-y: auto;\n overflow-x: hidden;\n}\n",""])},CmYt:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAYklEQVQ4jWP8//8/AzUAE1VMoaZBLNgEjdyW4/XvuV2RjOhiKGFk5LZ8B5TpTsABO6EGeuBz0VQoJgSykeVpG0ZQsAmHuB+pBmHVMDxdhNdgqrmIptGfjUWMIBiuxQgDAwMAYOQYFZsgdawAAAAASUVORK5CYII="},CpoS:function(t,e,n){var a=n("p/T2");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("19dbdbd5",a,!0,{})},Do9X:function(t,e,n){var a=n("N97a");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("5b0c9170",a,!0,{})},EYjE:function(t,e,n){var a=n("C98N");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("96000c26",a,!0,{})},F5Pm:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("GQeE"),o=n.n(i),s=n("FyfS"),l=n.n(s),c=n("kjiq"),u=n("7Qib"),p=n("LvDl");function d(t,e){try{var n=t.toString().split(".");n=n.length>1?n[1].length:0;var a=e.toString().split(".");a=a.length>1?a[1].length:0;var r=Number(t.toString().replace(".","")),i=Number(e.toString().replace(".","")),o=Object(p.multiply)(Object(p.divide)(r,i),Math.pow(10,a-n));return o.toString().length>8&&(o=parseFloat(o.toFixed(t.toString().length+2))),o}catch(t){}}function h(t,e,n){try{var a=0,r=n.toString().split(".").length>1?n.toString().split(".")[1].length:0;r<2&&(r=2);var i=t.toFixed(r),o=e.toFixed(r);a+=i.split(".").length>1?i.split(".")[1].length:0,a+=o.split(".").length>1?o.split(".")[1].length:0;var s=Number(i.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,a),l=s.toString().split(".");return s.toString().split(".").length>1&&(l[1].match(/([0-9])/)||(s=parseInt(s))),s}catch(t){}}function f(t){var e=0,n=!0,a=!1,r=void 0;try{for(var i,o=l()(t);!(n=(i=o.next()).done);n=!0){var s=i.value;s>e&&(e=s)}}catch(t){a=!0,r=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}var c=e.toString().split("."),u=c.length>1&&c[1].match(/^0+/)?c[1].match(/^0+/)[0].length:0;u?u+=2:u=2;for(var p=parseFloat(e.toFixed(u));p
"}),e};var v=s,g=Object(c.b)();g.series.push({name:"train_%total",type:"bar",data:e.expected_percentage,itemStyle:{color:"#5E7FEB"},barMaxWidth:15,pairType:e.name}),g.series.push({name:"val_%total",type:"bar",data:e.actual_percentage,itemStyle:{color:"#0Ec7a5"},barMaxWidth:15,pairType:e.name}),g.series.push({name:"train_event_ratio",type:"line",yAxisIndex:1,data:e.train_pos_perc,itemStyle:{color:"#FF9E1F"},pairType:e.name}),g.series.push({name:"val_event_ratio",type:"line",yAxisIndex:1,data:e.validate_pos_perc,itemStyle:{color:"#FF4F38"},pairType:e.name}),g.legend.data=["train_%total","val_%total","train_event_ratio","val_event_ratio"],g.xAxis.data=e.intervals,g.yAxis[0].name="%total";var b=f([].concat(r()(e.expected_percentage),r()(e.actual_percentage)));g.yAxis[0].max=b,g.yAxis[0].interval=d(b,5),g.yAxis[0].axisLabel.formatter=function(t){return h(t,100,b)+" %"},g.yAxis[1].name="event_ratio";var y=f([].concat(r()(e.train_pos_perc),r()(e.validate_pos_perc)));return g.yAxis[1].max=y,g.yAxis[1].interval=d(y,5),g.yAxis[1].axisLabel.formatter=function(t){return h(t,100,y)+" %"},g.tooltip.formatter=function(t){var e=t[0].name+"
";return t.forEach(function(t){e+=t.seriesName+": "+(100*t.data).toFixed(4)+"%
"}),e},{summaryTable:a.concat([{actual:"total",psi:"Total PSI: "+n,_total:!0}]),summaryPic:v,quantileTable:a,quantilePic:g}}e.default=function(t){for(var e={},n={},a={},r={},i=[],s=t?o()(t):[],l=0,c=s.length;l
",t.forEach(function(t){var n=Array.isArray(t.data)?t.data[1]:t.data;t.seriesName.toLowerCase().match("precision")?e+="Precision("+t.seriesName.replace("_Precision","")+"): "+n+"
":t.seriesName.toLowerCase().match("recall")&&(e+="Recall("+t.seriesName.replace("_Recall","")+"): "+n+"
")}),e},e.push({type:"chart",props:{options:o,setting:s,legend:"custom",group:Object(i.f)(c)}})}),e.length>1?e:e[0]}},IxTP:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".table-search {\n margin-bottom: 12px;\n}\n.table-search .search-input {\n max-width: 150px;\n}\n.table-search .search-input .el-input__inner {\n background: #F8F8FA;\n height: 24px;\n border: 0px;\n border-radius: 2px;\n width: 130px;\n padding-right: 20px;\n line-height: 24px;\n}\n.table-search .search-input .el-input-group__append {\n border: 0px;\n border-radius: 2px;\n background: #F8F8FA;\n padding-right: 10px;\n padding-left: 0px;\n}\n.table-search .search-input .el-input__icon {\n line-height: 24px;\n margin-right: 7px;\n}\n.table-search .el-select {\n max-width: 135px;\n}\n.table-search .el-select .el-select__tags {\n border-radius: 2px;\n height: 16px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n.table-search .el-select .el-select__tags .el-tag {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n border-radius: 2px;\n height: 16px;\n margin-right: 2px;\n}\n.table-search .el-select .el-select__tags .el-tag .el-select__tags-text {\n line-height: 16px;\n}\n.table-search .el-select .el-select__tags .el-tag .el-tag__close {\n line-height: 16px;\n margin-top: 0px;\n}\n.table-search .el-select .el-input__inner {\n height: 24px;\n background-color: #fff;\n border: 2px solid #EBEDF0;\n border-radius: 2px;\n}\n.table-search .el-select .el-select__caret {\n line-height: 24px;\n}\n.header-section-style {\n background-color: #DEECFC !important;\n border: 1px solid #ffffff;\n color: #6A6C75;\n padding: 3px 0px;\n}\n.header-section-style .caret-wrapper {\n height: 22px;\n}\n.header-section-style .caret-wrapper .ascending {\n top: 0px;\n}\n.header-section-style .caret-wrapper .descending {\n bottom: 0px;\n}\n.default-cell-style {\n border: 1px solid #fff;\n border-bottom: 1px solid #fff !important;\n background-color: #FAFBFC;\n color: #999BA3;\n font-size: 12px;\n padding: 3px 0px;\n}\n.default-cell-first-col-style {\n background-color: #EBEDF0 !important;\n color: #6A6C75;\n}\n.default-cell-summary-font {\n color: #6a6c75;\n font-weight: bold;\n}\n.selction-row-choosed {\n background-color: #ebedf0 !important;\n color: #6A6C75;\n}\n.simple-input {\n display: block;\n width: 100%;\n background: transparent;\n font-size: 12px;\n color: inherit;\n -webkit-appearance: none;\n border: 0;\n outline: 0;\n padding: 3px 7px;\n text-align: center;\n}\n.simple-input:focus {\n text-align: left;\n}\n",""])},K4Y6:function(t,e,n){"use strict";n.r(e);var a=n("w5Yh");n.d(e,"default",function(){return a.default})},K4j0:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},L2p5:function(t,e,n){"use strict";var a=n("GYfr");n.n(a).a},M2ad:function(t,e,n){"use strict";var a=n("Pi7P");n.n(a).a},MG1N:function(t,e,n){"use strict";var a=n("jiEp");n.n(a).a},MTjI:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("QdnX"),l=6;function c(t,e){return(t/e*100).toFixed(4)+"%"}function u(t,e){var n=[],a=function(t){return t.reduce(function(t,e){return e.reduce(function(t,e){return e.toString().match(/[a-zA-Z]+/)?t:t+e},t)},0)}(e);return Object(s.each)(e,function(e){n.push(function(t,e,n){for(var a={},r=0;r
");var s=Array.isArray(a.data)?a.data[1]:a.data;r+=e+"("+a.seriesName+"): "+s+"
"}),r}},N=function(){return[{type:"index",label:"index",width:100},{prop:"variable",label:"variable",sortable:!0},{prop:"weight",label:"weight",sortable:!0}]},k=function(t,e){return{variable:t,weight:Object(g.b)(e)}},L=function(t,e){return[{type:"text",props:{content:"iterations: {iters}",data:{"{iters}":t},className:"small-form-text"}},{type:"text",props:{content:"converged: {isConverged}",data:{"{isConverged}":e},className:"small-form-text"}}]},D=function(t,e){return{type:"form",props:f()({form:t},e)}};function R(t,e,n){var a=t.oneVsRestResult,r=a.completedModels,i=a.oneVsRestClasses,o="host"===e.toLowerCase(),s="guest"===e,l=r.length,c={},u=Object(m.makeArray)(l),p={},d={},h=[];Object(m.each)(r,function(t,e){var n=t.weight,a=t.header,r=[];Object(m.each)(a,function(t){r.push(k(t,n[t]))}),o||r.push(k("intercept",t.intercept));var l="model_"+e+(s?":"+i[e]:"");u[e]=l,p[l]=t.iters,d[l]=t.isConverged,c[l]=r});var f=[];return u.length&&(f=[{type:"f-select",name:"select",props:{label:"one_vs_rest model",options:u.map(function(t){return{label:t.replace(/\:.+/,""),value:t}})},connect:["modelText","iterations","converged"]},{type:"text",name:"modelText",props:{content:"model label: {modelLabel}",data:{"{modelLabel}":function(t){var e=t.split(":");return i&&i.length>0?e[1]:t.replace(/\:.+/,"")}},className:"small-form-text",inner:!0}},{type:"text",name:"iterations",props:{content:"iterations: {iterations}",data:{"{iterations}":function(t){return p[t]}},className:"small-form-text",inner:!0}},{type:"text",name:"converged",props:{content:"converged: {converged}",data:{"{converged}":function(t){return d[t]}},className:"small-form-text",inner:!0}},{type:"search"}],h.push(D(f))),n&&f.splice(1,0,{type:"text",props:{content:"The Final Model Information:"}}),h.push({type:"table",props:{data:c,header:N(),export:"model_summary"}}),h}function F(t){var e=t.weight,n=t.intercept,a=t.needOneVsRest,r=[],i=[];if(Object(m.each)(e,function(t,e){r.push(k(e,t))}),!a){r.push(k("intercept",n));var o=t.isConverged,s=t.iters,l=L(s,o);i.push(D([].concat(u()(l),[{type:"search"}])))}return i.push({type:"table",props:{header:N(),data:r,export:"model_summary"}}),i}var P=function(){var t=l()(o.a.mark(function t(e){var n,a,r,i,s=e.name,l=e.originParam;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(v.c)(l.props);case 2:return n=t.sent,a=Object(b.default)(n.data),r=void 0,r=(r=s.startsWith("loss")?a.find(function(t){return"loss"===t.name}):s.startsWith("dbi")?a.find(function(t){return"dbi"===t.name}):a.find(function(t){return"curves"===t.name})).options[s],(i=Object(g.a)(l)).props.metrics=r,t.abrupt("return",i);case 10:case"end":return t.stop()}},t,void 0)}));return function(e){return t.apply(this,arguments)}}(),M=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:"async",props:r()({options:t,refresh:e?function(){var t=l()(o.a.mark(function t(n){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!x()(e)){t.next=4;break}e(n),t.next=6;break;case 4:return t.next=6,P(n);case 6:case"end":return t.stop()}},t,void 0)}));return function(e){return t.apply(this,arguments)}}():""},n)}}},OwHS:function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=function(t){return Object(a.default)("performanceSum",{yAxis:{name:"auc, ks",min:"dataMin"},xAxis:{type:"category",data:t.xAxis},grid:{top:"15%"},legend:{top:"10",right:"20",icon:"roundRect"}},void 0,null,!0)(t.metrics)}},P1SN:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("YEIV"),u=n.n(c),p=n("P2sY"),d=n.n(p),h=n("FyfS"),f=n.n(h),m=n("GQeE"),v=n.n(m),g=n("QbLZ"),b=n.n(g),y=n("7Qib"),x=n("2c2J").a.state.modelNameMap,w=function(t,e,n,a,r,i,o,s,l){if(0===t.length)return{data:[],size:0,maxDepth:0,treeWidth:0};var c=0,u=function(t){var u=t.arr,p=t.node,d=t.grandChildrenArr,h=void 0===d?[]:d,f=t.depth,m=void 0===f?0:f,v=t.rootNode,g=a[p.fid],b=o.toLowerCase().match(x.homoBoost.toLowerCase())?parseFloat(p.bid).toFixed(6):parseFloat(r[p.id]).toFixed(6),w=p.sitename.split(":")[0],A=p.sitename.split(":")[1],I=v&&void 0===b?v+"\n":"ID: "+p.id+"\n";return w!==e||A!==n||p.isLeaf||o.toLowerCase().match(x.homoBoost.toLowerCase())?o.toLowerCase().match(x.homoBoost.toLowerCase())&&!p.isLeaf&&g&&(I+=g+" <= "+(b||p.bid||0),-1===p.missingDir&&(I+="\nis a missing value"),I+="\n"):(I+=g+" <= "+(void 0!==b?b:p.bid||0),1!==(i[p.id]||p.missingDir)&&(I+="\nor missing"),I+="\n"),(p.isLeaf&&"guest"===e||p.isLeaf&&o.toLowerCase().match(x.homoBoost.toLowerCase()))&&!v&&(I+="weight: "+Object(y.b)(p.weight)+"\n"),o.toLowerCase().match(x.homoBoost.toLowerCase())||(I+="mix"===s.toLowerCase()&&e.toLowerCase().match("guest")&&-1===p.leftNodeid&&-1===p.rightNodeid&&0===m?"HOST"+(l?":"+l:""):(w&&w.toUpperCase())+" "+(A?":"+A:l?":"+l:"")),u.push({treeid:p.id,name:I,children:h}),m>c&&(c=m),void 0!==b},p=t.find(function(e){return e.id===t[0].id}),d=[],h=u({arr:d,node:p,rootNode:"mix"===s.toLowerCase()&&e.toLowerCase().match("guest")?"Multi nodes":""}),m=0;if("mix"===s.toLowerCase()&&!h&&e.toLowerCase().match("guest")){!function(t,e){var n=!0,a=!1,r=void 0;try{for(var i,o=f()(e);!(n=(i=o.next()).done);n=!0){var s=i.value;s.isLeaf&&u({arr:t,node:s,grandChildrenArr:[],depth:1})}}catch(t){a=!0,r=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}}(d[0].children,t),m=170*(d[0].children.length||1)}else{m=function e(n,a,r,i){++i;var o=0,s=t.find(function(t){return t.id===a}),l=t.find(function(t){return t.id===r});if(s){var c=[],p=s.leftNodeid,d=s.rightNodeid;u({arr:n,node:s,grandChildrenArr:c,depth:i}),o+=e(c,p,d,i)}else l&&(o+=170);if(l){var h=[],f=l.rightNodeid;o+=e(h,l.leftNodeid,f,i),u({arr:n,node:l,grandChildrenArr:h,depth:i})}else s&&(o+=170);return s||l||(o=170),o}(d[0].children,t[0].leftNodeid,t[0].rightNodeid,1)}return{data:d,size:t.length,maxDepth:c,treeWidth:m}},A=n("sqJL"),I=n("UOeh"),_=n("uNnm"),O=n("OjIB"),C=n("evsm"),S=n("QdnX"),E=n("J2iB"),j=n.n(E),T=n("saIk"),N=n("xjht"),k=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var c,u,p,d,h,f,m,v,g,y,x,w,A;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(c={party_id:a,role:i,component_name:s,job_id:l},u=void 0,p=void 0,d=[],h=void 0,f=void 0,m=void 0,v=[],!n||n.msg.match("no data")){t.next=22;break}if(n=Object(_.default)(n.data),Object(S.each)(n,function(t){if("others"===t.name)u=N.d.bind(null,b()({metrics:t.options},c));else if("iter"===t.name)h=N.d.bind(null,b()({metrics:t.options},c)),m=Object(C.b)("warmStart");else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(S.each)(t.options,function(e,a){n.push(D(a,b()({metrics:e},c),N.d,Object(C.b)(t.name),Object(_.explainCurves)(a).name,!0))}),d.push([e,Object(O.createAsyncComponent)(n)])}}),d.length&&Object(S.each)(d,function(t){e.push(t)}),!u){t.next=16;break}return t.next=15,u();case 15:p=t.sent;case 16:if(p&&(g=Object(C.b)(T.METRIC_TYPES.EVALUATION_SUMMARY),y=g(p.data)||[],(x=(x=[].concat(o()(y))).length>0?0===e.length?Object(O.wrapGroupComponent)(x):x:null)&&(e.length>1?e.splice(1,0,x):e.push(x))),!h){t.next=21;break}return t.next=20,h();case 20:f=t.sent;case 21:m&&(v=m(f),0===e.length?e.push(Object(O.wrapGroupComponent)(v)):e[0].options&&Array.isArray(e[0].options)?(w=e[0].options).unshift.apply(w,o()(v)):Array.isArray(e[0])&&(A=e[0]).unshift.apply(A,o()(v)));case 22:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),L=function(t,e,n,a){return b()({type:t,name:e,props:n},a)},D=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}},R=function(t,e){return{label:t,value:e}},F=[{label:"FEATURE",prop:"fullname",width:"110px",align:"left",showOverflowTooltip:!0,normal_deep:!0},{type:"weight",label:"",prop:"importance",much_deep:!0}],P=[{label:"FEATURE",prop:"fullname",width:"110px",align:"left",showOverflowTooltip:!0,normal_deep:!0},{type:"weight",label:"",prop:"gain",much_deep:!0}],M=[{label:"variable",prop:"variable"},{label:"anonym in guest",prop:"featureIndex"}],B=["73,78,206","7,135,210","1,161,194","107,142,0","2,135,69","236,118,0","225,51,51","130,53,180","212,0,120","82,85,112"];function U(t,e,n){var a=Object(y.a)(I.a),r=[],i=Object(y.a)(a.series),o=!0,s=!1,l=void 0;try{for(var c,u=f()(t);!(o=(c=u.next()).done);o=!0){var p=c.value;0===p[1]?(i.data.length>0&&(1===i.data.length&&(delete i.symbol,i.symbolSize=4),r.push(i),i=Object(y.a)(a.series)),i.data=[p],r.push(i),i=Object(y.a)(a.series)):(i.data=i.data||[],i.data.push(p))}}catch(t){s=!0,l=t}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}return r.push(i),a.series=r,a.series[0].markLine.data[0][1].coord[1]=e,a.yAxis.max=e,a.backgroundColor="#f8f8fa",a.color="#FF8800",a.tooltip.backgroundColor=n,a.tooltip.textStyle.color="#fff",a.tooltip.axisPointer.lineStyle.color=n,a}function z(t,e){if("string"==typeof e)return e;var n=t.split("_");return n.length>1?e[parseInt(n[0])]:e[0]}function H(t,e,n){var a=function(t,e,n){var a=t.data.data,r=t.data.meta,i=r.meta_data.workMode,o=r.module_name,s=a.featureNameFidMapping,l=a.trees,c=a.classes,u=a.treeDim,p=a.treePlan,d=function(t,e,n){var a=[];if(n>=3)if("guest"===t)e.forEach(function(t,e){var n="model_"+e;a.push({value:e,label:n,name:t})});else if("host"===t)for(var r=0;r
";return t.forEach(function(t){e+=t.seriesName+": "+("PSI"!==t.seriesName?(100*t.data).toFixed(4)+"%":t.data)+"
"}),e},i[r]=s}),i}(v,g,b,y),options:f(g,b,y)}}]}]}},R5W1:function(t,e,n){"use strict";var a=n("lS5Q");n.n(a).a},RAVm:function(t,e,n){"use strict";n.r(e);var a=n("OjIB"),r=n("QdnX");e.default=function(t){var e=t.reader_name.meta.table_info,n=[];Object(r.each)(e,function(t,e){var a={};a.variable=e,a.samples=t,n.push(a)}),Object(r.sortByName)(n,"variable");var i=[],o=t.reader_name&&t.reader_name.meta;return o&&(o.file_path&&i.push({type:"text",props:{content:"file path: "+o.file_path,className:"small-form-text"}}),o.file_count&&i.push({type:"text",props:{content:"file count: "+o.file_count,className:"small-form-text"}}),i.push.apply(i,[{type:"text",props:{content:"namespace: "+t.reader_name.meta.namespace,className:"small-form-text"}},{type:"text",props:{content:"name: "+t.reader_name.meta.table_name,className:"small-form-text"}}]),o.count&&i.push({type:"text",props:{content:"count: "+o.count,className:"small-form-text"}}),i.push.apply(i,[{type:"text",props:{content:"partitions: "+t.reader_name.meta.partitions,className:"small-form-text"}},{type:"text",props:{content:"storage engine: "+t.reader_name.meta.storage_engine,className:"small-form-text"}}]),n.length>0&&i.push.apply(i,[{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{data:n,header:[{type:"index",label:"index"},Object(a.createHeader)("variable","variable",{sortable:!0}),Object(a.createHeader)("samples","samples")],zeroFormat:"0",export:t.reader_name.meta.table_name,pageSize:-1}}])),i}},RZZm:function(t,e,n){var a=n("eomL");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("755370d4",a,!0,{})},S6YE:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t,e){var n=[];return t.forEach(function(t){n.push({type:"text",props:{content:t,className:"small-form-text",subContent:t.toLowerCase().match(/unmatched.*count/i)&&e.toLowerCase().match(/left/i)?"(Unmatched instance host variables are considered missing values)":""}})}),n},p=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var p,d,h,f,m,v,g,b,y,x,w,A;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(p=n.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(n.data,a,i,s,l))){t.next=23;break}d={},h=[],f=[],m=0;case 6:if(!(p.length>0)){t.next=22;break}return v=p.shift(),t.next=10,Object(c.sendMetricsDataRequest)(v);case 10:d=t.sent,g=d.data,b=g.data,y=g.meta,h=Object(c.textTransform)(b),x=h.findIndex(function(t){return t.toLowerCase().match(/unmatched/)}),w=y.join_method?y.join_method.replace("_"," "):"",x>=0&&w&&h.splice(x,0,"Join method: "+w),(A=u(h,w)).length>0&&f.unshift({type:"form",props:{form:[].concat(o()(A))}}),0===m&&0!==p.length||function(){var t=[],e=function(e,n){e[n]&&t.push(n.replace(/_/g," ")+": "+e[n].toString().replace(/_/g," "))};for(var n in y)n.match(/metric_type/i)||"name"===n||n.match(/join_method/i)||e(y,n);(A=u(t,w)).length>0&&f.push({type:"form",props:{form:[].concat(o()(A))}})}(),m++,t.next=6;break;case 22:return t.abrupt("return",[Object(c.wrapGroupComponent)(f)]);case 23:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},SNd3:function(t,e,n){"use strict";var a=n("n0uM");n.n(a).a},"SQ+b":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("3cDs"),u=n("QdnX"),p=function(t){var e=[];return t.forEach(function(t,n){e.push({prop:"cluster"+n,label:"Cluster"+n,showOverflowTooltip:!0})}),[{type:"index",label:"index"},{prop:"variable",label:"variable",pageFixed:!0}].concat(e)},d=function(t){var e=[],n={_total:!0},a=0,r=0;return t.forEach(function(t){a+=t.cluster[1],r+=t.cluster[2],e.push({custerLabel:"Cluster"+t.cluster[0],count:t.cluster[1],ratio:(100*t.cluster[2]).toFixed(4)+"%"})}),n.custerLabel="Total",n.count=a,n.ratio=Math.round(100*r)+"%",e.push(n),e},h=function(t,e){for(var n=[],a=e.length,r=function(a){n[a]={variable:e[a]},Object(u.each)(t,function(t,e){n[a]["cluster"+e]=t.centroid[a]})},i=0;i0&&g&&g.length>0&&(y=[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"text",props:{content:"count of clusters: "+e.data.data.countOfClusters,className:"small-form-text"}},{type:"text",props:{content:"max_interation: "+e.data.data.maxInteration,className:"small-form-text"}},{type:"text",props:{content:"converged: "+e.data.data.converged,className:"small-form-text"}}]}]),v&&v.length>0&&y.push({component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"title",props:{content:"Cluster Detail"}},{type:"table",props:{header:[{type:"index",label:"index"},{prop:"custerLabel",label:"custer label"},{prop:"count",label:"count"},{prop:"ratio",label:"ratio"}],data:d(v)}}]}),g&&g.length>0&&y.push({component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"title",props:{content:"Centroid Detail"}},{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{header:p(g),data:h(g,b),headerPagination:!0}}]}),(f=y).push.apply(f,o()(m)),t.abrupt("return",y);case 12:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=f},SeDR:function(t,e,n){"use strict";n.r(e);var a=n("Vae8");e.default=a.default},SqDN:function(t,e,n){"use strict";n.r(e);var a=n("w5Yh");n.d(e,"default",function(){return a.default})},TD7w:function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=Object(a.default)("Accuracy",{yAxis:{name:"accuracy"}},void 0,!0)},U8kZ:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNmZjY0NjQ7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTYiIGRhdGEtbmFtZT0i57uEIDE5MTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTYzNikiPg0KICAgIDxnIGlkPSLmpK3lnIZfNjMiIGRhdGEtbmFtZT0i5qSt5ZyGIDYzIiBjbGFzcz0iY2xzLTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk2NiA2MzYpIj4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iOSIgY3k9IjkiIHI9IjkiLz4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0zIiBjeD0iOSIgY3k9IjkiIHI9IjgiLz4NCiAgICA8L2c+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTYiIGRhdGEtbmFtZT0i55u057q/IDExNiIgY2xhc3M9ImNscy0xIiB4Mj0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTciIGRhdGEtbmFtZT0i55u057q/IDExNyIgY2xhc3M9ImNscy0xIiB4MT0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogIDwvZz4NCjwvc3ZnPg0K"},U9kv:function(t,e,n){var a=n("uy/s");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("ff63f00e",a,!0,{})},UAQg:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("rfXi"),d=n.n(p),h=n("jWXv"),f=n.n(h),m=n("YEIV"),v=n.n(m),g=n("xjht"),b=n("uNnm"),y=n("evsm"),x=n("QdnX"),w=n("OjIB"),A=n("GoyQ"),I=n.n(A),_=n("gPpF"),O=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,p,d,h,f,m;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u={party_id:a,role:i,component_name:s,job_id:c,isEvaluation:!0},p=[],d=[],h=void 0,f=void 0,n&&!n.msg.match("no data")&&(n=Object(b.default)(n.data),Object(x.each)(n,function(t){if("others"===t.name)h=(h=Object(y.b)(t.name)).bind(null,t,u);else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(x.each)(t.options,function(e,a){console.log(t.name,"nams"),n.push(C(a,l()({metrics:e},u),g.d,Object(y.b)(t.name),Object(b.explainCurves)(a).name,!0))}),d.push([e,Object(w.createAsyncComponent)(n)])}})),!h){t.next=12;break}return t.next=9,h();case 9:m=t.sent,p.push.apply(p,o()(m)),f=S(p);case 12:return d.length&&Object(x.each)(d,function(t){f&&(t=E(t,f)),p.push(Object(w.wrapGroupComponent)(t))}),t.abrupt("return",p);case 14:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),C=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};function S(t){var e=null;return Object(x.each)(t,function(t,n){var a=t.options;if(Object(x.each)(a,function(t,n){if("group"===t.type){var a=t.props.options;if(Object(x.each)(a,function(t,n){if("table"===t.type&&"OneVsRestEvaluation"===t.props.export){if(e=t.props.data,Array.isArray(e)){var a=e[0].name.split("_class")[0];e=v()({},a,e)}return!1}}),null!==e)return!1}}),null!==e)return!1}),e}function E(t,e){t=t||[];var n=new f.a;Object(x.each)(e,function(t,e){I()(t)?Object(x.each)(t,function(t,e){if(I()(t))Object(x.each)(t,function(t,e){if("dataset"===e)return n.add(t),!1});else if("dataset"===e)return n.add(t),!1}):"dataset"===e&&n.add(t)}),n=d()(n);var a=t[0]?t[0].props.form:[],r={label:"One vs Rest",children:function(){var t=[];return Object(x.each)(n,function(e){t.push({label:e,value:"ovr_"+e})}),t}()};if(a[0]&&"f-tabs"===a[0].type){var i=a[0].props.tabs;i[0]&&"loss"!==i[0].label.toLowerCase()&&i.push(r)}else a.push({type:"f-type",ptops:{tabs:[r]}}),t.push({type:"form",props:{form:a}});var o=t[1],s=[];if(Object(x.each)(n,function(t){s.push(C("ovr_"+t,{tableData:e,namespace:t},function(t){return t},_.default,"one_vs_rest",!0))}),o&&"async"===o.type){var l=o.props.options;l.push.apply(l,s)}else t.push(Object(w.createAsyncComponent)(s));return t}e.default=O},"UCI/":function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a);e.default=function(t){var e=t.data.data&&t.data.data.colMap,a=[],i={};return e&&r()(e).length>0?(r()(e).forEach(function(t){a.push({value:t,label:t}),i[t]=[],e[t].transformedHeaders.forEach(function(n,a){i[t].push({encoded_vector:n,value:e[t].values[a]})})}),[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[{type:"f-select",name:"f-selection",props:{options:a}}]}},{type:"table",props:{data:i,header:[{type:"index",label:"index"},{prop:"value",label:"value"},{prop:"encoded_vector",label:"encoded_vector"}],export:"encode_detail"}}]}]):[]}},UFPc:function(t,e,n){"use strict";var a=n("tlOW");n.n(a).a},UJde:function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("EJiy"),l=n.n(s),c=n("OjIB"),u=n("QdnX"),p=function(t,e,n){return null==e&&(e=t),"object"===(void 0===e?"undefined":l()(e))&&null==n&&(n=e),o()({prop:t,label:e},n)};e.default=function(t){var e=[];return Object(u.each)(t,function(t,n){Object(u.each)(t,function(t,n){var a=t.meta,i=a.weight_mode,o=a.class_weight,s=a.classes,l=a.sample_weight_name,c=[p("","index",{type:"index"}),p("label","label"),p("weight","weight")],d=[],h=[],f=[],m=[],v=null;h.push({type:"text",props:{content:"weight mode: "+i}}),l&&h.push({type:"text",props:{content:"column name: "+l}}),o&&r()(o).length>0&&(m=function(t){return{type:"f-select",props:{options:function(){var e=[];return e.push({label:"all",value:"default"}),Object(u.each)(t,function(t){e.push({label:t.label,value:"label"+t.label})}),e}(),styles:"width:auto;"}}}(f=function(t,e){var n=[];return Object(u.each)(e,function(e){n.push({label:e,weight:t[e]})}),n}(o,s)),v=function(t){var e={default:t};return Object(u.each)(t,function(t){e["label"+t.label]=[t]}),e}(f),h.push(m)),d.push({type:"form",props:{form:h}}),v&&d.push({type:"table",props:{header:c,data:v}}),e.push.apply(e,d)})}),e.length>0?Object(c.wrapGroupComponent)(e):null}},UMXJ:function(t,e,n){"use strict";n.d(e,"b",function(){return u});var a=n("gDS+"),r=n.n(a),i=n("UVkp"),o=n("eOYL"),s={drawText:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=c,t.here=l,e?(n||(n=o.a.getUUID("text")),e.drawLayer(n,t),n):new o.a(t)},LEFT:i.a.LEFT,RIGHT:i.a.RIGHT,CENTER:i.a.CENTER};function l(t){var e=this,n=e.$ctx.measureText(e.text).width,a=e.$meta.get("$translate")||{x:0,y:0},r=e.point.x||e.point[0]||0,i=e.point.y||e.point[1]||0,o=(t.x||t[0]||0)-a.x,l=(t.y||t[1]||0)-a.y,c=parseInt(e.style.font),u=!1;return e.position===s.RIGHT?o>=r-n&&o<=r&&l>=i-c/2&&l<=i+c/2&&(u=!0):e.position===s.CENTER?o>=r-n/2&&o<=r+n/2&&l>=i-c/2&&l<=i+c/2&&(u=!0):o>=r&&o<=r+n&&l>=i-c/2&&l<=i+c/2&&(u=!0),u}function c(){var t=JSON.parse(r()(this.style));t.textBaseline=i.a.TEXTBASELINE,t.textAlign="left",this.position===s.RIGHT?t.textAlign="right":this.position===s.CENTER&&(t.textAlign="center"),this.style=t,function(){var t=this;t.text=t.text.toString();for(var e=t.$ctx,n=u(e,t.text,t.style),a=t.width||Math.ceil(n.width),r=parseInt(t.style.font),i=t.breakLine?t.height?Math.floor(t.height/(r+t.betweenEachLine))>t.breakLine?t.breakLine:Math.floor(t.height/(r+t.betweenEachLine)):t.breakLine:1,s=t.width&&Math.ceil(parseInt(n.width)/t.width)a;)m--;d.push(t.text.substr(h,m)),h+=m}if(l){var v=d[d.length-1].split("");v.splice(-3,3,"..."),d[d.length-1]=v.join("")}for(var g in e.save(),t.style)e[g]=t.style[g];t.angle&&o.a.rotate(e,t.point,t.angle);for(var b=0;b0?(a.push(u),o=!0):o=!1}else if(["table"].indexOf(c.type)>=0){var p=this.refOpera("comp"+l,"allSteps",t);p&&(o?O(a[a.length-1],p):a.push(p))}else if(["chart","async","group","tabs"].indexOf(c.type)>=0){if(this.refOpera("comp"+l,"getNames").find(function(t){return i.match(t)})){if(o)this.oldProperty[this.oldProperty.length-1].connectTo.push("comp"+l);this.needToAsyncProperty.push({data:o?a[a.length-1]:"default",comp:"comp"+l,compType:c.type,checkName:this.refOpera("comp"+l,"getNames"),position:a.length-1,name:c.name})}}}this.needToAsyncProperty.length>0&&(this.collecting=!0,this.$nextTick(function(){n.startAsyncRequest(t)})),this.dataCollection=a,this.collecting||(this.$emit("reporter",r()({},this.currentProperty,this.dataCollection),"group"),this.dataCollection="")},startAsyncRequest:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.currentArgs,e=this.needToAsyncProperty[0];if(e){var n=this.getNextProperty(e.data);if("default"===n){if(["chart"].indexOf(e.compType)>=0&&t.imply.length>0)this.currentComp=e,this.currentCompProp="",this.refOpera(e.comp,"setImply",t.imply)||this.refOpera(e.comp,"allSteps",t);else this.refOpera(e.comp,"allSteps",t);this.needToAsyncProperty.shift(),this.originProperty=[]}else if(n&&"default"!==n)if(this.currentComp=e,this.currentCompProp=n,n!==this.refOpera(e.comp,"getCurrentProperty").toString())this.refOpera(e.comp,"linkageChange",n,!1,t.imply);else if(["chart"].indexOf(e.compType)>=0&&t.imply.length>0){this.refOpera(e.comp,"setImply",t.imply)||this.refOpera(e.comp,"allSteps",t,n)}else this.refOpera(e.comp,"allSteps",t,n);else this.needToAsyncProperty.shift(),this.originProperty=[],this.startAsyncRequest()}else this.returnToOrigin(),this.collecting=!1,this.$emit("reporter",r()({},this.currentProperty,this.dataCollection),"group"),this.dataCollection="",this.originProperty=[]},asyncRequestRefreshed:function(){this.refOpera(this.currentComp.comp,"allSteps",this.currentArgs,this.currentCompProp)},combineReporter:function(t,e){var n=this,a=this.currentComp.data;if(a&&"default"!==a||"chart"!==e)if(a&&"default"!==a||"group"!==e)a&&"chart"===e?O(a,t):a&&"group"===e&&(1===t[this.currentCompProp].length?O(a,r()({},this.currentCompProp,t[this.currentCompProp][0])):(a.groups=a.groups||[],a.groups.push(t[this.currentCompProp])));else{var i;""===this.dataCollection&&(this.dataCollection=[]),(i=this.dataCollection).push.apply(i,l()(t.group))}else for(var o in t)this.dataCollection.push(t[o]);this.$nextTick(function(){n.startAsyncRequest()})},returnToOrigin:function(){for(var t=0,e=this.oldProperty.length;t
Tree Size: "+(0!==parseInt(t[0].data[1])?t[0].data[1]:"unknow")},backgroundColor:"#fff",textStyle:{color:"rgb(73,78,206)",fontSize:12,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", "Arial", "sans-serif"'},axisPointer:{type:"line",lineStyle:{color:"#FF9A4D",width:2}}},backgroundColor:"transparent",grid:{left:0,right:0,bottom:0,top:0,containLabel:!0},xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},yAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:{type:"line",symbol:"none",data:[],markLine:{lineStyle:{width:2,color:"#FF9A4D",type:"solid"},animation:!1,symbol:"none",data:[[{coord:[0,0]},{coord:[0,0]}]]}}}}n.d(e,"b",function(){return a}),e.a=a()},UVkp:function(t,e,n){"use strict";e.a={_RADIUS:4,_SANGLE:0,_EANGLE:2*Math.PI,LEFT_UP:"LEFT UP",RIGHT_UP:"RIGHT UP",LEFT_DOWN:"LEFT DOWN",RIGHT_DOWN:"RIGHT DOWN",CENTER:"CENTER",UP:"UP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",TEXTBASELINE:"middle",TEXTFAMILY:"Lato",TOLLTIP_TANGLE_SIZE:5,TOLLTIP_BETWEEN:5,TOLLTIP_PADDING:12}},UasS:function(t,e,n){"use strict";n.r(e);var a=n("EJiy"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("7Qib");var u=n("QdnX"),p=n("VEiK"),d=n.n(p);function h(t,e,n){return n?"-":"host"===e?"-":void 0===t||null===t?"-":Object(c.b)(t)}e.default=function(t,e,n,a,i,s){var p=arguments.length>6&&void 0!==arguments[6]&&arguments[6],f=arguments[7];if(Object(u.isEmpty)(t))return null;var m=function(){var r=[],u=[],m={},v={},g={},b={},y={},x=0,w=function(w){var A=[],I=[],_=-9999,O=t[w].ivArray.length>0?t[w].ivArray:t[w].splitPoints,C=t[w].splitPoints.length
"],a=!0,r=!1,i=void 0;try{for(var s,l=o()(t);!(a=(s=l.next()).done);a=!0){var c=s.value;"event_count"===c.seriesName?n.push("Event_Count: "+e.event_count+"
\n Event_Ratio: "+(100*parseFloat(e.event_ratio)).toFixed(4)+"%
"):"non_event_count"===c.seriesName&&n.push("Non_Event_Count: "+e.non_event_count+"
\n Non_Event_Ratio: "+(100*parseFloat(e.non_event_ratio)).toFixed(4)+"%
")}}catch(t){r=!0,i=t}finally{try{!a&&l.return&&l.return()}finally{if(r)throw i}}return n.sort(function(t,e){return t.match("Event_Count")&&e.match("Non_Event_Count")?1:t.match("Non_Event_Count")&&e.match("Event_Count")?-1:0}),n.join("")},T.tooltip.formatter=function(t){var e=I[t[0].dataIndex];return e.formatterBinning+"
Woe: "+e.woe+"
"},b[w]=j,y[w]=T,v[w]=t[w].eventCountArray.length>0&&t[w].nonEventCountArray.length>0?S:{};var N=[];N.push({name:"woe",type:"bar",data:t[w].woeArray,barMinWidth:"12",barMaxWidth:"15",itemStyle:{color:"#4159D1"}}),N.push({type:"line",tooltip:{show:!1},data:t[w].woeArray,lineStyle:{color:"#0EC7A5"}}),g[w]=t[w].woeArray.length>0?N:{},r.push({variable:w,anonymInGuest:function(){if(f&&f.length>0){var t=e.findIndex(function(t){return t===w});if(t>=0)return f[t]}if(s===i){var n=w.match(/[0-9]+/)?w.match(/[0-9]+/)[0]:x;return i+"_"+a+"_"+n}return w}(),iv:h(t[w].iv,s,p),binding:function(){if("guest"!==n)return w||"-";for(var t=0;t=this.$_startIndex;if(this.$_continuous!==b){if(b){l.clear(),c.clear();for(var y=0,x=r.length;y
");var r=Array.isArray(t.data)?t.data[1]:t.data;e+="Precision("+t.seriesName+"):"+r+"
",e+="Recall("+t.seriesName+"):"+t.axisValue+"
"}),e},e.push({type:"chart",props:{group:a.map(function(t){return l()(t,1)[0]}),options:i,setting:s,legend:"custom"}})}),e.length>1?e:e[0]}},eOYL:function(t,e,n){"use strict";var a=n("FyfS"),r=n.n(a),i=n("ODRq"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("gDS+"),u=n.n(c),p=n("iCc5"),d=n.n(p),h=n("V7oC"),f=n.n(h),m={click:!0,mouseup:!0,mousemove:!0,mousedown:!0,mousewheel:!0},v=function(){function t(e,n,a){d()(this,t),this.canvasDom=e,this.interactive=function(){var t=JSON.parse(u()(m));for(var e in n)t[e]=n[e];return t}(),this.inited=!1,this.afterInit=a,this.width=0,this.height=0,this._inited()}return f()(t,[{key:"_inited",value:function(){var t=this;if(this.canvasDom){this._suitable();var e=!1;this.lay&&(e=!0,this.lay.deleteAllAboutChain()),this.lay=function(){if(t.canvasDom)return t.afterInit(t.canvasDom)}(),this.scaleTime=1,this.translateX=0,this.translateY=0,this.holding=!1,this.moved=!1,this.originPos=null,this.lay.emit("$translate",this.translateX,this.translateY),!e&&this.lay&&this._addEvents()}}},{key:"_suitable",value:function(){if(this.canvasDom&&this.canvasDom.parentElement){var t=this.canvasDom.parentElement,e=getComputedStyle(t),n=parseInt(e.width),a=parseInt(e.height);this.canvasDom.setAttribute("style","width:"+n+"px;height:"+a+"px;overflow:hidden;"),this.canvasDom.setAttribute("width",n),this.canvasDom.setAttribute("height",a),this.width=n,this.height=a,this.inited=!0}}},{key:"_addEvents",value:function(){if(this.inited){var t=this;t.canvasDom.addEventListener("mousedown",function(e){e.stopPropagation(),e.preventDefault(),t.holding=!0,t.moved=!1,t.interactive.mousedown.operation&&t.interactive.mousedown.operation(t.lay)}),t.canvasDom.addEventListener("mousemove",function(e){if(e.stopPropagation(),e.preventDefault(),t.holding)if(null===t.originPos)t.originPos=t._getPos(e);else{var n=t._getPos(e);if(n.x!==t.originPos.x||n.y!==t.originPos.y){t.moved=!0;var a=n.x-t.originPos.x,r=n.y-t.originPos.y;t.translateX+=a,t.translateY+=r,t.originPos=n,!0===t.interactive.mousemove?(t.lay.$ctx.translate(a,r),t.lay.emit("$translate",t.translateX,t.translateY),t.lay.drawing()):t.interactive.mousemove&&t.interactive.mousemove.operation(t.lay,t.holding,a,r)}}else{var i=t._getPos(e);!0===t.interactive.mousemove?t.lay.emit("showTips",i):t.interactive.mousemove&&t.interactive.mousemove.operation(t.lay,t.holding,i)}}),t.canvasDom.addEventListener("mouseup",function(e){e.stopPropagation(),e.preventDefault(),t.holding=!1,t.originPos=null,t.interactive.mouseup.operation&&t.interactive.mouseup.operation(t.lay)}),t.canvasDom.addEventListener("click",function(e){if(e.preventDefault(),t.moved)t.moved=!1;else{var n=t._getPos(e);if(t.interactive.click.beforeClick&&t.interactive.click.beforeClick(),t.interactive.click.operation)t.interactive.click.operation(t.lay,n);else if(!0===t.interactive.click)t.lay.emit("choose",n);else if(t.interactive.click.props){var a;(a=t.lay).emit.apply(a,["choose",n].concat(l()(t.interactive.click.props)))}}}),t.canvasDom.addEventListener("mouseout",function(e){e.stopPropagation(),e.preventDefault(),t.originPos=null,t.holding=!1,t.interactive.mouseout&&t.interactive.mouseout.operation(t.lay)});var e=function(e){e.stopPropagation(),e.preventDefault();var n=t._getPos(e),a=e.wheelDelta||24*-e.detail,r=t.scaleTime+a/1500,i=(r=r<=.1?.1:r)/t.scaleTime;t.scaleTime=r,!0===t.interactive.mousewheel?t.lay.emit("scale",i,n):t.interactive.mousewheel&&t.interactive.mousewheel.operation(t.lay,i,n)};/Firefox/i.test(window.navigator.userAgent)?t.canvasDom.addEventListener("DOMMouseScroll",e):t.canvasDom.addEventListener("mousewheel",e),window.addEventListener("resize",function(){setTimeout(function(){t.interactive.resize?(t._suitable(),t.interactive.resize()):t._inited()},10)})}}},{key:"_getPos",value:function(t){var e=void 0,n=void 0;return t.layerX||0===t.layerX?(e=t.layerX,n=t.layerY):(t.offsetX||0===t.offsetY)&&(e=t.offsetX,n=t.offsetY),{x:e,y:n}}},{key:"suitableForWhole",value:function(t,e,n){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!this.inited)return!1;n=n||20;var r=this,i=this.canvasDom.width-2*n,o=this.canvasDom.height-2*n,s=t.call(this.lay),l=o/s.height,c=i/s.width,u=l
"),n+=e+" ",Object(o.each)(t,function(t,e){n&&(n+="
"),n+=e+": "+t})}),n};var s=[],u=[],p=[];return Object(o.each)(r,function(t,e){var n=[c(t.auc.meta.curve_name,t.auc.data,{pairType:e}),c(t.ks.meta.curve_name,t.ks.data,{pairType:e})];s.push(e),p.push.apply(p,n)}),u.push({type:"chart",props:{options:p,setting:a,legend:"custom",group:s}}),u.length>1?u:u[0]}},hF9E:function(t,e,n){"use strict";var a=n("epZ/");n.n(a).a},hnh8:function(t,e,n){"use strict";n.r(e);var a=n("Ix4U");n.d(e,"default",function(){return a.default})},hzma:function(t,e,n){"use strict";var a=n("mLUo");n.n(a).a},iA7x:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTQgNiI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6IzAwY2JmZjt9LmJ7ZmlsbDojMDA4MWEyO308L3N0eWxlPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOTA4IC04MDEpIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjYiIHJ4PSIyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MDggODAxKSIvPjxyZWN0IGNsYXNzPSJiIiB3aWR0aD0iMiIgaGVpZ2h0PSIyIiByeD0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTEwIDgwMykiLz48cmVjdCBjbGFzcz0iYiIgd2lkdGg9IjIiIGhlaWdodD0iMiIgcng9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkxNCA4MDMpIi8+PHJlY3QgY2xhc3M9ImIiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHJ4PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MTggODAzKSIvPjwvZz48L3N2Zz4="},ikd3:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAA9UlEQVQ4jdXUIUtEQRSG4UejRqtNWBBkNIpFuGaNCjcpWAyCbPE3WBbBYBE0DWh0swMWMepFEBZsVqPWlYVZw8Jdl2WDDkw53+Ed3nNgprrdrkmc6YlQRgEVZdXs3d/6atWKstpCCwu59IZmiuF2JFBRVos4wSZecJqjIyyhjeMUw2stqCirM+zhExd4HHh4FfuYxWWK4bAfTGzYdWrnWK9Ru8fBULUB4PjDLsqqN+ANfOEmxfDUX32KoVWU1Qq2MYO7FEN7mNocdrCMDq5ytIsGnnGdYvgYVa2RgfO59J4BnXHV1rLawz9WqwH+qA3r+2P/Eb4BPfePrVMAU8IAAAAASUVORK5CYII="},j07e:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".condition[data-v-3daaa25f] {\n width: 360px;\n max-width: 360px;\n}\n.condition[data-v-3daaa25f] .el-input__inner {\n height: 24px;\n background: #F8F9FA;\n border: 2px solid transparent;\n}\n.is-error .condition[data-v-3daaa25f] .el-input__inner,\n .is-error .condition[data-v-3daaa25f] .el-input__inner:focus {\n border-color: #f56c6c;\n border-radius: 2px;\n}\n.is-success .condition[data-v-3daaa25f] .el-input__inner,\n .is-success .condition[data-v-3daaa25f] .el-input__inner:focus {\n border-color: transparent;\n}\n.label[data-v-3daaa25f] {\n color: #999BA3;\n margin-right: 15px;\n}\n[data-v-3daaa25f] .el-form-item {\n margin-bottom: 10px;\n}\n",""])},jElq:function(t,e,n){"use strict";function a(){return{color:["#878ada"],title:{text:"",textStyle:{color:"#606266",fontSize:16,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif'}},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"5%",bottom:"3%",containLabel:!0},backgroundColor:"#f8f8fa",yAxis:[{type:"category",data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}},{type:"category",offset:30,data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:[{type:"bar",barWidth:"20%",barGap:"-100%",itemStyle:{color:"#e8e8ef"},data:[],label:{show:!0,position:"right",color:"#999",formatter:null},tooltip:{show:!1}},{name:"value",type:"bar",barWidth:"20%",data:[]}]}}n.d(e,"b",function(){return a}),e.a={color:["#878ada"],title:{text:"",textStyle:{color:"#606266",fontSize:16,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif'}},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"5%",bottom:"3%",containLabel:!0},backgroundColor:"#f8f8fa",yAxis:[{type:"category",data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}},{type:"category",offset:30,data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:[{type:"bar",barWidth:"20%",barGap:"-100%",itemStyle:{color:"#e8e8ef"},data:[],label:{show:!0,position:"right",color:"#999",formatter:null},tooltip:{show:!1}},{name:"value",type:"bar",barWidth:"20%",data:[]}]}},jecE:function(t,e,n){"use strict";var a=n("RZZm");n.n(a).a},jiEp:function(t,e,n){var a=n("Ibv5");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("0eff5c3c",a,!0,{})},jkWR:function(t,e,n){var a=n("nVpJ");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("212490e7",a,!0,{})},kbN7:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t){var e=[];return t.forEach(function(t){e.push({type:"text",props:{content:t,className:"small-form-text"}})}),e},p=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var p,d,h,f,m,v,g,b;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(p=n.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(n.data,a,i,s,l))){t.next=18;break}return d={},h=[],f=[],m=p.shift(),t.next=8,Object(c.sendMetricsDataRequest)(m);case 8:return d=t.sent,v=d.data.meta,(g=function(t,e,n){t[e]&&h.push((n||e).replace(/_/g," ")+": "+t[e].toString())})(v,"model_id"),g(v,"model_version"),g(v,"component_name"),g(v,"step_index","checkpoint"),(b=u(h)).length>0&&f.push({type:"form",props:{form:[].concat(o()(b))}}),t.abrupt("return",[Object(c.wrapGroupComponent)(f)]);case 18:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},kjiq:function(t,e,n){"use strict";function a(){return{backgroundColor:"#fff",title:{text:""},tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{type:"dotted",color:"#ff9e1f"}}},legend:{show:!0,right:"5%",top:"3%",orient:"horizontal"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:[{type:"value",name:"Expected, Actual",splitArea:{show:!0,areaStyle:{color:"#ffffff"}},nameGap:8,axisLabel:{show:!0,interval:"auto",formatter:"{value} %"},splitNumber:5},{type:"value",name:"PSI",nameGap:8,splitArea:{show:!0,areaStyle:{color:"#ffffff"}},axisLabel:{},splitNumber:5}],xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}},axisLabel:{rotate:30,fontSize:12,color:"#999ba3"},nameGap:5},series:[]}}n.d(e,"b",function(){return a}),e.a={backgroundColor:"#fff",title:{text:""},tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{type:"dotted",color:"#ff9e1f"}}},legend:{show:!0,right:"5%",top:"3%",orient:"horizontal"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:[{type:"value",name:"Expected, Actual",splitArea:{show:!0,areaStyle:{color:"#ffffff"}},nameGap:8,axisLabel:{show:!0,interval:"auto",formatter:"{value} %"},splitNumber:5},{type:"value",name:"PSI",nameGap:8,splitArea:{show:!0,areaStyle:{color:"#ffffff"}},axisLabel:{},splitNumber:5}],xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}},axisLabel:{rotate:30,fontSize:12,color:"#999ba3"},nameGap:5},series:[]}},"l2+S":function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("QdnX"),o=[Object(i.createHeader)("jaccard_similarity_score","JC"),Object(i.createHeader)("fowlkes_mallows_score","FMI"),Object(i.createHeader)("adjusted_rand_score","RI")],s=[Object(i.createHeader)("davies_bouldin_index","DBI")];function l(t,e){return t.find(function(t){return t.prop===e})}function c(t){var e={};return Object(i.each)(t,function(t){e[t[0]]=t[1]}),[e]}function u(t,e,n){return[{type:"title",props:{content:n}},{type:"table",props:{header:t,data:e,export:n}}]}e.default=function(t,e){var n=[];for(var a in t){var i=t[a];l(o,i.data[0][0])?n.push.apply(n,r()(u(o,c(i.data),"External Index"))):n.push.apply(n,r()(u(s,c(i.data),"Internal Index")))}return n}},l489:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTQgNiI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6I2U2YjI1ODt9LmJ7ZmlsbDojYjcwO308L3N0eWxlPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOTA4IC04MDEpIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjYiIHJ4PSIyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MDggODAxKSIvPjxyZWN0IGNsYXNzPSJiIiB3aWR0aD0iMiIgaGVpZ2h0PSIyIiByeD0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTEwIDgwMykiLz48cmVjdCBjbGFzcz0iYiIgd2lkdGg9IjIiIGhlaWdodD0iMiIgcng9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkxNCA4MDMpIi8+PHJlY3QgY2xhc3M9ImIiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHJ4PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MTggODAzKSIvPjwvZz48L3N2Zz4="},lBJu:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("OjIB"),d=n("QdnX"),h=n("xjht"),f=n("uNnm"),m=n("evsm"),v=n("saIk");function g(t,e){e>-1&&t.length&&t.unshift({type:"form",props:{form:[{type:"text",props:{content:"The Final Model: iter "+e}}]}})}var b=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}},y=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,y,x,w,A,I,_,O,C,S,E,j,T,N,k,L,D,R,F,P,M,B;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=e.data.data||{},y=[],x=void 0,w={party_id:a,role:i,component_name:s,job_id:c},A=void 0,I=void 0,_=void 0,O=void 0,C=void 0,S=[],E=[],j=void 0,T=void 0,N=void 0,k=[],n&&!n.msg.match("no data")&&(n=Object(f.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)O=h.d.bind(null,l()({metrics:t.options},w));else if("iter"===t.name)j=h.d.bind(null,l()({metrics:t.options},w)),N=Object(m.b)("warmStart");else if("stepwise"===t.name)A=h.d.bind(null,l()({metrics:t.options},w)),_=Object(m.b)(t.name);else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(b(a,l()({metrics:e},w),h.d,Object(m.b)(t.name),Object(f.explainCurves)(a).name,!0))}),S.push([e,Object(p.createAsyncComponent)(n)])}})),u&&(L=u.weight,D=u.oneVsRestResult,g(x=D?Object(p.oneVsRestResultHandler)(u,i):Object(d.isEmpty)(L)?[]:Object(p.weightHandler)(u),u.bestIteration),x.length&&E.push(Object(p.wrapGroupComponent)(x))),S.length&&Object(d.each)(S,function(t){E.push(Object(p.wrapGroupComponent)(t))}),!O){t.next=22;break}return t.next=21,O();case 21:C=t.sent;case 22:if(C&&(R=Object(m.b)(v.METRIC_TYPES.EVALUATION_SUMMARY),F=R(C.data)||[],(P=(P=[].concat(o()(F))).length>0?Object(p.wrapGroupComponent)(P):null)&&(E.length>1?E.splice(1,0,P):E.push(P))),!A){t.next=27;break}return t.next=26,A();case 26:I=t.sent;case 27:if(_&&(y=_(I,i),E.push.apply(E,o()(y))),!j){t.next=32;break}return t.next=31,j();case 31:T=t.sent;case 32:return N&&(k=N(T),0===E.length?E.push(Object(p.wrapGroupComponent)(k)):E[0].options&&Array.isArray(E[0].options)?(M=E[0].options).unshift.apply(M,o()(k)):Array.isArray(E[0])&&(B=E[0]).unshift.apply(B,o()(k))),t.abrupt("return",E);case 34:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=y},lBxe:function(t,e,n){"use strict";var a=n("4d7F"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("gDS+"),l=n.n(s),c=n("FyfS"),u=n.n(c),p=n("ODRq"),d=n.n(p),h=n("GQeE"),f=n.n(h),m=n("iCc5"),v=n.n(m),g=n("V7oC"),b=n.n(g),y=n("mWkO"),x=n("m1cH"),w=n.n(x),A=n("UMXJ"),I=8,_=22,O="#ffffff",C="#4159D1",S="#0EC7A5",E="rgba(36,182,139,0.6)",j="rgba(187,187,200,0.6)",T="#FF4F38",N="#e8e8ef",k="#BBBBC8",L=4,D="#6A6C75",R="#ffffff",F="#534C77",P=16,M="arial",B="#999BA3",U="#494ECE",z=6,H=10,$=12,W=20,G=4,Y=2,V=2,Z=12,Q=5,X=6,J=4,K="rgba(127,125,142,0.7)",q="rgba(255,255,255,1)",tt="#E6B258",et="#bcf500",nt="#00cbff",at="#7F7D8E",rt="#7F7D8E",it={drawProgress:function(t,e,n){t.canvas=e?e.$canvas:t.canvas,t.struct=lt;var a=!0,r=null;if(e){n||(n=y.a.getUUID("progress"));var i=e.drawLayer(n,t);return a=!i.old,r=i.node,a&&it.type.RUNNING.match(r.type.toUpperCase())&&(it.animations.tictok.call(r),it.animations.loading.call(r)),n}return r=new y.a(t),it.type.RUNNING.match(r.type.toUpperCase())&&(it.animations.tictok.call(r),it.animations.loading.call(r)),r},clear:function(){this.$ctx.clearRect(0,0,this.$canvas.width,this.$canvas.height)},type:{UNRUN:"UNRUN|WAITING",RUNNING:"RUNNING",FAIL:"FAILED|ERROR|CANCELED",SUCCESS:"SUCCESS|COMPLETE"},events:{choose:function(t,e){var n=this;n.$here(t)?n.choose=!0:n.choose=!1,n.setCus("choose",function(){n.containerStyle=ot(n.type,!!n.choose,n.disable),n.contentStyle=ot(n.type,!!n.choose,n.disable,"content"),n.fontStyle=st(n.type,!!n.choose,n.disable),e&&"function"==typeof e&&e(n.text,n.$here(t))})},linkChoose:function(t,e){var n=this;if(n.$here(t)&&n.$visiable)return n.setCus("choose",function(){e&&"function"==typeof e&&e(n.$parent.text,n.$here(t),!0)}),"finish"},scale:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];var e=this;e._scale=(e._scale?e._scale:1)*t,e.setCus("scale",function(){e.contentFontSize=y.a.toFixed(e.contentFontSize*t),e.iconPadding=y.a.toFixed(e.iconPadding*t),e.betweenIconWithContent=y.a.toFixed(e.betweenIconWithContent*t),e.lineWidth=y.a.toFixed(e.lineWidth*t),e.portWidth=y.a.toFixed(e.portWidth*t),e.portHeight=y.a.toFixed(e.portHeight*t),e.portRadius=y.a.toFixed(e.portRadius*t),e.betweenPortWidthTooltip=y.a.toFixed(e.betweenPortWidthTooltip*t),e.radius=y.a.toFixed(e.radius*t)})},showTips:function(t){var e=this,n=function(n){var a=e.$children.get(n);a&&(a.$here(t)?a.setCus("showToolTip",function(){e.$children.get(n+"Tooltip").emit("$showing")}):e.$children.get(n+"Tooltip").$visiable&&a.setCus("hideTooltip",function(){e.$children.get(n+"Tooltip").emit("$hide")}))};if(e.input.length>0){var a=!0,r=!1,i=void 0;try{for(var o,s=u()(e.input);!(a=(o=s.next()).done);a=!0){n(o.value.name)}}catch(t){r=!0,i=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}}if(e.output.length>0){var l=!0,c=!1,p=void 0;try{for(var d,h=u()(e.output);!(l=(d=h.next()).done);l=!0){n(d.value.name)}}catch(t){c=!0,p=t}finally{try{!l&&h.return&&h.return()}finally{if(c)throw p}}}}},animations:{tictok:function(){var t=this;t.registerChainTranslate("tictok",!0,t.settingCus(function(){t.time.match(":")||(t.time=y.a.exchangeTime(t.time));var e=t.time.split(":"),n=parseInt(e[0]),a=parseInt(e[1]),r=parseInt(e[2]);r+1>=60?(r=0,a+1>=60?(a=0,n+=1):a+=1):r+=1,n=(n.toString().length<2?"0":"")+n,a=(a.toString().length<2?"0":"")+a,r=(r.toString().length<2?"0":"")+r,t.time=n+":"+a+":"+r},900))},loading:function(){var t=this,e=[];e.push(t.settingRGBA(t.contentStyle,"rgba(36,182,139,0)",function(e){t.contentStyle=e},500)),e.push(t.settingCus(function(){t.progress=0,t.contentStyle=ot(t.type||it.type.UNRUN,!!t.choose,t.disable,"content")})),e.push(t.settingNum(0,1,function(e){t.progress=e},3e3,20)),t.registerChainTranslate.apply(t,["loading",!0].concat(e))},toNewType:function(t,e){var n=this;if(t!==n.type){var a={toNewTypeContent:[],toNewTypeContainer:[],toNewTypeText:[]};t!==it.type.RUNNING&&(n.deleteChainTranslate("loading"),n.deleteChainTranslate("tictok"),a.toNewTypeContent.push(n.settingNum(n.progress||1,1,function(t){n.progress=t},200)));var r=ot(t,!!n.choose,n.disable,"content");a.toNewTypeContent.push(n.settingRGBA(n.contentStyle,r,function(t){n.contentStyle=t},200)),a.toNewTypeContent.push(n.settingCus(function(){n.type=t,t===it.type.RUNNING?(n.progress=0,n.time=y.a.exchangeTime(e)||n.time||"00:00:00",n.$children.get("time").$visiable||n.$children.get("time").emit("$showing"),it.animations.tictok.call(n),it.animations.loading.call(n)):n.$children.get("time").$visiable&&n.$children.get("time").emit("$hide"),t===it.type.SUCCESS||t===it.type.FAIL?(n.img=e,n.$children.get("icon").$visiable||n.$children.get("icon").emit("$showing")):n.$children.get("icon").$visiable&&n.$children.get("icon").emit("$hide"),t!==it.type.FAIL||n.$children.get("retryBtn").$visiable?n.$children.get("retryBtn").$visiable&&n.$children.get("retryBtn").emit("$hide"):n.$children.get("retryBtn").emit("$showing")}));var i=ot(t,!!n.choose,n.disable);a.toNewTypeContainer.push(n.settingRGBA(n.containerStyle,i,function(t){n.containerStyle=t},200));var o=st(t,!!n.choose,n.disable);for(var s in a.toNewTypeText.push(n.settingRGBA(n.fontStyle,o,function(t){n.fontStyle=t},200)),a)n.registerChainTranslate.apply(n,[s,!1].concat(w()(a[s])))}}}};function ot(t,e,n,a){return e?"content"===a&&t===it.type.RUNNING?n?j:E:C:n&&t!==it.type.UNRUN?N:n&&t===it.type.UNRUN?k:t===it.type.SUCCESS?S:t===it.type.RUNNING?"content"===a?n?j:E:S:t===it.type.FAIL?T:t===it.type.UNRUN?N:void 0}function st(t,e,n){return n&&t!==it.type.UNRUN?e?R:D:n&&t===it.type.UNRUN?e?R:F:t===it.type.SUCCESS?R:t===it.type.RUNNING?D:t===it.type.FAIL?R:t===it.type.UNRUN?D:void 0}function lt(){var t=this;t.choose=!!t.choose,t.contentFontSize=t.contentFontSize||P,t.padding=t.padding||_,t.tooltipRadius=t.tooltipRadius||J,t.iconPadding=t.iconPadding||H,t.betweenIconWithContent=t.betweenIconWithContent||z,t.lineWidth=t.lineWidth||I,t.portWidth=t.portWidth||(t.specialDataInput?W:$),t.portHeight=t.portHeight||G,t.portRadius=t.portRadius||Y,t.betweenPortWidthTooltip=t.betweenPortWidthTooltip||V,t.tooltipFont=t.tooltipFont||Z,t.tipTrangleSize=t.tipTrangleSize||Q,t.radius=t.radius||L,t.tooltipPadding=t.tooltipPadding||X,t.type===it.type.RUNNING&&(t.time=y.a.exchangeTime(t.time)||"00:00:00");var e=t.input,n=t.output,a=t.point.x||t.point[0]||0,r=t.point.y||t.point[1]||0,i=function(t,e,n,a){a&&(a.containerStyle=a.containerStyle||ot(t||it.type.UNRUN,!!e,n),a.contentStyle=a.contentStyle||ot(t||it.type.UNRUN,!!e,n,"content"),a.fontStyle=a.fontStyle||st(t||it.type.UNRUN,!!e,n));var r={container:{fillStyle:a?a.containerStyle:ot(t||it.type.UNRUN,!!e,n)},content:{fillStyle:a?a.contentStyle:ot(t||it.type.UNRUN,!!e,n,"content")},text:{font:a.contentFontSize+"px "+M,fillStyle:a.fontStyle},time:{font:.8*a.contentFontSize+"px "+M,fillStyle:B},link:{font:.8*a.contentFontSize+"px "+M,fillStyle:U,cursor:"pointer",underline:!0}};return a.style=r,a.style}(t.type,t.choose,t.disable,t),o=Object(A.b)(t.$ctx,t.text,i.text);i.container.fillStyle=t.containerLightUp||i.container.fillStyle;var s=t.width||Math.ceil(o.width)+2*t.padding+2*t.lineWidth,l=t.height||t.contentFontSize+t.padding,c=t.type,u=new d.a,p=l-t.iconPadding,h=t.betweenIconWithContent;if(y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s,height:l,radius:t.radius,style:i.container,fill:!0}},t,"container"),y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s-.6*t.lineWidth,height:l-.6*t.lineWidth,radius:t.radius,style:{fillStyle:O},fill:!0}},t,"containerInner"),y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s-.5*t.lineWidth,height:l-.5*t.lineWidth,progress:void 0!==t.progress?t.progress:1,radius:t.radius,style:i.content,fill:!0}},t,"content"),y.a.component.text.drawText({props:{point:{x:a,y:r},text:t.text,style:i.text,position:y.a.component.text.CENTER}},t,"text"),y.a.component.icon.drawIcon({props:{point:{x:a+s/2+h+p/2,y:r},width:p,img:t.img},visiable:!!t.img},t,"icon"),y.a.component.text.drawText({props:{point:{x:a+s/2+h,y:r},text:t.time,style:i.time},visiable:c===it.type.RUNNING},t,"time"),y.a.component.text.drawText({props:{point:{x:a+s/2+2*h+p,y:r},text:"retry",style:i.link},visiable:c===it.type.FAIL,events:{choose:it.events.linkChoose}},t,"retryBtn"),e.length>0)for(var f=e.length,m=r-l/2,v=0;v
",t.forEach(function(n,r){var i=n.data[1];e+="DBI"+(t.length>1?"("+n.seriesName+")":"")+": "+Object(a.b)(i)+"
"}),e}})(t.data)}},rS0t:function(t,e,n){"use strict";n.r(e);var a=n("OjIB");e.default=function(t,e){var n=e.model_type.toLowerCase().indexOf("homo")<0,r=t.data_split.meta,i=r.data_split_count_info,o=r.data_split_label_info,s=r.data_split_ratio_info,l=r.stratified,c=[],u={_total:!0},p=function(t,e,n){return t&&(e&&"guest"===n||!e)?[{type:"index",label:"index"},Object(a.createHeader)("layer"),Object(a.createHeader)("original count","original"),Object(a.createHeader)("train count","train"),Object(a.createHeader)("validate count","validate"),Object(a.createHeader)("test count","test")]:[{type:"index",label:"index"},Object(a.createHeader)("dataset"),Object(a.createHeader)("count"),Object(a.createHeader)("ratio")]}(l,n,e.role);if(l&&(n&&"guest"===e.role||!n))if(o.continuous_label)for(var d=function(t){var e=o.split_points[t],n="",a={};n=0===t?"(-∞,"+e+"]":t===o.split_points.length?"("+o.split_points[t-1]+",+∞)":"("+o.split_points[t-1]+","+e+"]",p.forEach(function(e){"index"!==e.type&&("layer"===e.prop?(a[e.prop]=n,0===t&&(u[e.prop]="Total")):(a[e.prop]=o[e.prop][t],0===t&&("original"!==e.prop?u[e.prop]=i[e.prop]+"("+(100*s[e.prop]).toFixed(4)+"%)":u[e.prop]=i[e.prop])))}),c.push(a)},h=0;h
"}),e}})(t.data)}},"sYD+":function(t,e,n){"use strict";n.r(e);var a=n("P2sY"),r=n.n(a),i=n("sk9p"),o=n.n(i),s=n("7Qib"),l=n("QdnX");e.default=function(t,e,n){var a=[Object(l.createHeader)("metric_name",""),Object(l.createHeader)("metric_namespace","dataset",{sortable:!n})],i=Object(l.flattenToTable)(t,function(t,e,i,c,u){0===u&&Object(l.each)(t.data,function(t){var e=o()(t,1)[0];a.push(Object(l.createHeader)(e,e,{sortable:!n}))});var p={metric_name:e.replace(i.metric_namespace+"_",""),metric_namespace:c};return r()(p,Object(s.d)(t.data))}),c={type:"form",props:{form:[{type:"title",props:{title:n?"Evaluation Scores":"Performance Scores"}}]}};Object(l.sortByName)(i,"metric_name");var u=[c,{type:"table",props:{header:a,data:i,pageSize:20,zeroFormat:"0",export:n?"evaluation_scores":"performance_scores"}}];return e&&(a.push(Object(l.createHeader)("precision","precision"),Object(l.createHeader)("recall","recall")),c.props.form.splice(1,1,{type:"f-range",props:{label:"Quantile",max:1,min:0,step:.05,value:.5,tip:"Update Precision and Recall under the new quantile condition"}}),Object(l.each)(i,function(t){var n=e[t.metric_namespace]&&e[t.metric_namespace][t.metric_name+"_quantile_pr"];if(n&&n.meta){var a=n.meta;r()(t,{thresholds:a.thresholds,precision:a.p_scores.map(function(t,e){return[.05*e,o()(t,2)[1]]}),recall:a.r_scores.map(function(t,e){return[.05*e,o()(t,2)[1]]})})}})),u}},saIk:function(t,e,n){"use strict";n.r(e),n.d(e,"MODEL_TYPES",function(){return a}),n.d(e,"METRIC_TYPES",function(){return r});var a={HomoLR:"HomoLR",HeteroLR:"HeteroLR",HeteroLinR:"HeteroLinR",LocalBaseline:"LocalBaseline",DataIO:"DataIO",Evaluation:"Evaluation",HeteroSecureBoost:"HeteroSecureBoost",HeteroFeatureBinning:"HeteroFeatureBinning",HeteroFeatureSelection:"HeteroFeatureSelection",FeatureScale:"FeatureScale",FederatedSample:"FederatedSample",OneHotEncoder:"OneHotEncoder",HeteroPoisson:"HeteroPoisson",HomoNN:"HomoNN",HeteroNN:"HeteroNN",HeteroPearson:"HeteroPearson",HomoSecureboost:"HomoSecureboost",HeteroFM:"HeteroFM",HomoFM:"HomoFM",HeteroMF:"HeteroMF",HeteroSVD:"HeteroSVD",HeteroSVDPP:"HeteroSVDPP",HeteroGMF:"HeteroGMF",SBTFeatureTransformer:"SBTFeatureTransformer"},r={DATAIO_TABLE:"DATAIO_TABLE",SCALE:"SCALE",LOSS:"LOSS",DATAIO_TEXT:"DATAIO_TEXT",SAMPLE_TEXT:"SAMPLE_TEXT",SAMPLE_TABLE:"SAMPLE_TABLE",INTERSECTION:"INTERSECTION",KS_EVALUATION:"KS_EVALUATION",ROC_EVALUATION:"ROC_EVALUATION",LIFT_EVALUATION:"LIFT_EVALUATION",GAIN_EVALUATION:"GAIN_EVALUATION",ACCURACY_EVALUATION:"ACCURACY_EVALUATION",RECALL_BINARY_EVALUATION:"RECALL_BINARY_EVALUATION",PRECISION_BINARY_EVALUATION:"PRECISION_BINARY_EVALUATION",RECALL_MULTI_EVALUATION:"RECALL_MULTI_EVALUATION",PRECISION_MULTI_EVALUATION:"PRECISION_MULTI_EVALUATION",EVALUATION_SUMMARY:"EVALUATION_SUMMARY",UNION:"UNION",UPLOAD:"UPLOAD",DOWNLOAD:"DOWNLOAD",RSA:"RSA",STEPWISE:"STEPWISE",F1_SCORE:"F1_SCORE",CONFUSION_MAT:"CONFUSION_MAT",QUANTILE_PR:"QUANTILE_PR",PSI:"PSI",CLUSTERING_EVALUATION_SUMMARY:"CLUSTERING_EVALUATION_SUMMARY",DISTANCE_MEASURE:"DISTANCE_MEASURE",DBI:"DBI",CONTINGENCY_MATRIX:"CONTINGENCY_MATRIX",SAMPLE_WEIGHT:"SAMPLE_WEIGHT",PERFORMANCE_SUM:"PERFORMANCE_SUM",SBT_FEATURE_TRANSFORMER:"SBT_FEATURE_TRANSFORMER",OVR:"ovr"}},sqJL:function(t,e,n){"use strict";function a(){return{backgroundColor:"#ffffff",tooltip:{trigger:"item",triggerOn:"mousemove",formatter:function(t){var e="";return t.data.name.split("\n").forEach(function(t,n,a){e+=t,n0?n("span",{staticClass:"tip-count",class:e},[t._v(t._s(t.counts[i]))]):t._e()])})),t._v(" "),n("div",{staticClass:"log-containers"},t._l(t.LOG_TYPES,function(e){return n("log",{directives:[{name:"show",rawName:"v-show",value:t.currentLogType===e,expression:"currentLogType === type"}],key:e,attrs:{logs:t.logs[e]},on:{"scroll-top":function(n){t.handleScrollTop(e)}}})}))]),t._v(" "),n("div",{ref:"checklog",staticClass:"log-extend flex flex-center justify-center"},[n("icon-hover-and-active",{directives:[{name:"show",rawName:"v-show",value:t.expandAll,expression:"expandAll"}],attrs:{"default-url":t.icons.normal.dashBoardFold,"hover-url":t.icons.hover.dashBoardFold,"active-url":t.icons.active.dashBoardFold},on:{clickFn:t.toggle}}),t._v(" "),n("icon-hover-and-active",{directives:[{name:"show",rawName:"v-show",value:!t.expandAll,expression:"!expandAll"}],attrs:{"default-url":t.icons.normal.dashBoardUnfold,"hover-url":t.icons.hover.dashBoardUnfold,"active-url":t.icons.active.dashBoardUnfold},on:{clickFn:t.toggle}})],1)])},[],!1,null,"3e3666f0",null));vt.options.__file="Logs.vue";var mt=vt.exports,yt={components:{BreadcrumbExt:r.a,Board:V,Logs:mt},computed:o()({},Object(a.c)(["icons"]),{jobId:function(){return this.$route.query.job_id},role:function(){return this.$route.query.role},partyId:function(){return this.$route.query.party_id},ids:function(){return{jobId:this.jobId,role:this.role,partyId:this.partyId}}})},bt=(n("lJfc"),Object(h.a)(yt,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"dashboard-container bg-dark app-container"},[e("breadcrumb-ext",{attrs:{breads:[{type:"content",val:"Dashboard"}]}}),this._v(" "),e("board",this._b({},"board",this.ids,!1)),this._v(" "),e("logs",{attrs:{ids:this.ids}})],1)},[],!1,null,null,null));bt.options.__file="index.vue";e.default=bt.exports},C98N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".log-content[data-v-4d72c288] {\n height: 100%;\n white-space: pre-wrap;\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n}\n.log-contents[data-v-4d72c288] {\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n position: absolute;\n width: 100%;\n background: #fff;\n}\n.log-contents .log-lineNum[data-v-4d72c288] {\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n color: #c6c8cc;\n min-width: 50px;\n margin-right: 20px;\n font-size: 12px;\n text-align: left;\n line-height: 20px;\n}\n.log-contents .log-content[data-v-4d72c288] {\n color: #999ba3;\n font-size: 12px;\n text-align: left;\n text-indent: initial;\n line-height: 20px;\n}\n.log-tip[data-v-4d72c288] {\n width: 100%;\n text-align: center;\n color: #999ba3;\n}\n",""])},Do9X:function(t,e,n){var i=n("N97a");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("5b0c9170",i,!0,{})},DzJC:function(t,e,n){var i=n("sEfC"),o=n("GoyQ"),a="Expected a function";t.exports=function(t,e,n){var r=!0,s=!0;if("function"!=typeof t)throw new TypeError(a);return o(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),i(t,e,{leading:r,maxWait:e,trailing:s})}},EYjE:function(t,e,n){var i=n("C98N");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("96000c26",i,!0,{})},N97a:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},NdWW:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICMyNGI2OGI7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTUiIGRhdGEtbmFtZT0i57uEIDE5MTUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTU5OCkiPg0KICAgIDxnIGlkPSLmpK3lnIZfMjczIiBkYXRhLW5hbWU9IuakreWchiAyNzMiIGNsYXNzPSJjbHMtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTY2IDU5OCkiPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTIiIGN4PSI5IiBjeT0iOSIgcj0iOSIvPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI5IiBjeT0iOSIgcj0iOCIvPg0KICAgIDwvZz4NCiAgICA8cGF0aCBpZD0i6Lev5b6EXzUxIiBkYXRhLW5hbWU9Iui3r+W+hCA1MSIgY2xhc3M9ImNscy0xIiBkPSJNMTEzMC4yLDM2OS41MThsMy44NzIsMy43MzEsNS45NDYtNS43MjciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNTkuOTg2IDIzNi43MykiLz4NCiAgPC9nPg0KPC9zdmc+DQo="},PbIf:function(t,e,n){"use strict";var i=n("EYjE");n.n(i).a},PpD2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("eOYL"),o={drawLine:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=a,e?(n||(n=i.a.getUUID("line")),e.drawLayer(n,t),n):new i.a(t)}};function a(){!this.curve||this.point.length<=2?function(){var t=this,e=t.$ctx;i.a.stroke(e,t.style,function(e){for(var n=0;n=this.$_startIndex;if(this.$_continuous!==y){if(y){l.clear(),c.clear();for(var b=0,x=o.length;b0?n("span",{staticClass:"tip-count",class:e},[t._v(t._s(t.counts[i]))]):t._e()])})),t._v(" "),n("div",{staticClass:"log-containers"},t._l(t.LOG_TYPES,function(e){return n("log",{directives:[{name:"show",rawName:"v-show",value:t.currentLogType===e,expression:"currentLogType === type"}],key:e,attrs:{logs:t.logs[e]},on:{"scroll-top":function(n){t.handleScrollTop(e)}}})}))]),t._v(" "),n("div",{ref:"checklog",staticClass:"log-extend flex flex-center justify-center"},[n("icon-hover-and-active",{directives:[{name:"show",rawName:"v-show",value:t.expandAll,expression:"expandAll"}],attrs:{"default-url":t.icons.normal.dashBoardFold,"hover-url":t.icons.hover.dashBoardFold,"active-url":t.icons.active.dashBoardFold},on:{clickFn:t.toggle}}),t._v(" "),n("icon-hover-and-active",{directives:[{name:"show",rawName:"v-show",value:!t.expandAll,expression:"!expandAll"}],attrs:{"default-url":t.icons.normal.dashBoardUnfold,"hover-url":t.icons.hover.dashBoardUnfold,"active-url":t.icons.active.dashBoardUnfold},on:{clickFn:t.toggle}})],1)])},[],!1,null,"3e3666f0",null));vt.options.__file="Logs.vue";var mt=vt.exports,yt={components:{BreadcrumbExt:r.a,Board:V,Logs:mt},computed:o()({},Object(a.c)(["icons"]),{jobId:function(){return this.$route.query.job_id},role:function(){return this.$route.query.role},partyId:function(){return this.$route.query.party_id},ids:function(){return{jobId:this.jobId,role:this.role,partyId:this.partyId}}})},bt=(n("lJfc"),Object(h.a)(yt,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"dashboard-container bg-dark app-container"},[e("breadcrumb-ext",{attrs:{breads:[{type:"content",val:"Dashboard"}]}}),this._v(" "),e("board",this._b({},"board",this.ids,!1)),this._v(" "),e("logs",{attrs:{ids:this.ids}})],1)},[],!1,null,null,null));bt.options.__file="index.vue";e.default=bt.exports},C98N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".log-content[data-v-4d72c288] {\n height: 100%;\n white-space: pre-wrap;\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n}\n.log-contents[data-v-4d72c288] {\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n position: absolute;\n width: 100%;\n background: #fff;\n}\n.log-contents .log-lineNum[data-v-4d72c288] {\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n color: #c6c8cc;\n min-width: 50px;\n margin-right: 20px;\n font-size: 12px;\n text-align: left;\n line-height: 20px;\n}\n.log-contents .log-content[data-v-4d72c288] {\n color: #999ba3;\n font-size: 12px;\n text-align: left;\n text-indent: initial;\n line-height: 20px;\n}\n.log-tip[data-v-4d72c288] {\n width: 100%;\n text-align: center;\n color: #999ba3;\n}\n",""])},Do9X:function(t,e,n){var i=n("N97a");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("5b0c9170",i,!0,{})},DzJC:function(t,e,n){var i=n("sEfC"),o=n("GoyQ"),a="Expected a function";t.exports=function(t,e,n){var r=!0,s=!0;if("function"!=typeof t)throw new TypeError(a);return o(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),i(t,e,{leading:r,maxWait:e,trailing:s})}},EYjE:function(t,e,n){var i=n("C98N");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("96000c26",i,!0,{})},N97a:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},NdWW:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICMyNGI2OGI7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTUiIGRhdGEtbmFtZT0i57uEIDE5MTUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTU5OCkiPg0KICAgIDxnIGlkPSLmpK3lnIZfMjczIiBkYXRhLW5hbWU9IuakreWchiAyNzMiIGNsYXNzPSJjbHMtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTY2IDU5OCkiPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTIiIGN4PSI5IiBjeT0iOSIgcj0iOSIvPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI5IiBjeT0iOSIgcj0iOCIvPg0KICAgIDwvZz4NCiAgICA8cGF0aCBpZD0i6Lev5b6EXzUxIiBkYXRhLW5hbWU9Iui3r+W+hCA1MSIgY2xhc3M9ImNscy0xIiBkPSJNMTEzMC4yLDM2OS41MThsMy44NzIsMy43MzEsNS45NDYtNS43MjciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNTkuOTg2IDIzNi43MykiLz4NCiAgPC9nPg0KPC9zdmc+DQo="},PbIf:function(t,e,n){"use strict";var i=n("EYjE");n.n(i).a},PpD2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("eOYL"),o={drawLine:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=a,e?(n||(n=i.a.getUUID("line")),e.drawLayer(n,t),n):new i.a(t)}};function a(){!this.curve||this.point.length<=2?function(){var t=this,e=t.$ctx;i.a.stroke(e,t.style,function(e){for(var n=0;n=this.$_startIndex;if(this.$_continuous!==y){if(y){l.clear(),c.clear();for(var b=0,x=o.length;b
");var m=!1,v=0,g=0;if(r.forEach(function(e){e.seriesName===t.tpr&&(n+=t.tpr+": "+e.data[1]+"
",v=e.data[1],m=!0),e.seriesName===t.fpr&&(n+=t.fpr+": "+e.data[1]+"
",g=e.data[1])}),m){var b=v-g;n+="KS: "+Math.abs(Object(c.b)(b))+"
"}}}),n}}(a),n=n.sort(function(t,e){return e.name&&t.name&&e.name.match("tpr")&&t.name.match("fpr")?1:t.name?-1:1}),i.push({type:"chart",props:{options:n,setting:e,legend:"custom",group:s}}),i.length>1?i:i[0]}},"1sAi":function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=Object(a.default)("roc",{yAxis:{name:"tpr"}},{areaStyle:{color:"#494ece",opacity:.1}},function(t){var e=t.thresholds;return function(t){var n="";return t.forEach(function(t){var a=e[t.seriesName][t.dataIndex];(a||0===a)&&(n+="Threshold: "+a+"
"),n+="Tpr("+t.seriesName+"): "+t.data[1]+"
",n+="Fpr("+t.seriesName+"): "+t.axisValue+"
"}),n}})},"2mqv":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("uNnm"),u=n("evsm"),p=n("QdnX"),d=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l,d){var h,f,m,v;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(h={party_id:a,role:i,component_name:s,job_id:l,model_type:d},f=[],m=void 0,n&&!n.msg.match("no data")&&(n=Object(c.default)(n.data),Object(p.each)(n,function(t){"others"===t.name&&(m=(m=Object(u.b)(t.name)).bind(null,t,h))})),!m){t.next=9;break}return t.next=7,m();case 7:v=t.sent,f.push.apply(f,o()(v));case 9:return t.abrupt("return",f);case 10:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o,s){return t.apply(this,arguments)}}();e.default=d},"3Q/S":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t){var e=[];return t.forEach(function(t){e.push({type:"text",props:{content:t}})}),e},p=function(){var t=l()(r.a.mark(function t(e,a,i,s,l,p){var d,h,f,m;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(d=a.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(a.data,i,s,l,p))){t.next=10;break}return h={},f=[],m=d.shift(),t.next=7,Object(c.sendMetricsDataRequest)(m);case 7:return h=t.sent,f=Object(c.textTransform)(h.data.data),t.abrupt("return",[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[].concat(o()(u(f)))}}]}]);case 10:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},"3cDs":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("xjht"),d=n("QdnX"),h=n("evsm"),f=n("saIk"),m=n("OjIB"),v=n("uNnm"),g=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,g,y,x,w,A,I,_,O,C,S,E,j,T,N,k,L,D;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=[],g={party_id:a,role:i,component_name:s,job_id:c},y=void 0,x=void 0,w=[],A=void 0,I=void 0,_=void 0,O=[],C=void 0,S=void 0,E=void 0,j=[],n&&!n.msg.match("no data")&&(n=Object(v.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)y=p.d.bind(null,l()({metrics:t.options},g));else if("iter"===t.name)C=p.d.bind(null,l()({metrics:t.options},g)),E=Object(h.b)("warmStart");else if("stepwise"===t.name)A=p.d.bind(null,l()({metrics:t.options},g)),_=Object(h.b)(t.name);else if("curves"===t.name||"loss"===t.name||"dbi"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(b(a,l()({metrics:e},g),p.d,Object(h.b)(t.name),Object(v.explainCurves)(a).name,!0))}),w.push([e,Object(m.createAsyncComponent)(n)])}})),w.length&&Object(d.each)(w,function(t){u.push(Object(m.wrapGroupComponent)(t))}),!y){t.next=19;break}return t.next=18,y();case 18:x=t.sent;case 19:if(x&&(T=Object(h.b)(f.METRIC_TYPES.EVALUATION_SUMMARY),N=T(x.data)||[],(k=(k=[].concat(o()(N))).length>0?Object(m.wrapGroupComponent)(k):null)&&(u.length>1?u.splice(1,0,k):u.push(k))),!A){t.next=24;break}return t.next=23,A();case 23:I=t.sent;case 24:if(_&&(O=_(I,i),u.push.apply(u,o()(O))),!C){t.next=29;break}return t.next=28,C();case 28:S=t.sent;case 29:return E&&(j=E(S),0===u.length?u.push(Object(m.wrapGroupComponent)(j)):u[0].options&&Array.isArray(u[0].options)?(L=u[0].options).unshift.apply(L,o()(j)):Array.isArray(u[0])&&(D=u[0]).unshift.apply(D,o()(j))),t.abrupt("return",u);case 31:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),b=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};e.default=g},"3lD8":function(t,e,n){var a=n("K4j0");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("2ace0298",a,!0,{})},"4rwF":function(t,e,n){"use strict";var a=n("m1cH"),r=n.n(a),i={methods:{change:function(t){this.$emit("change",t)},refOpera:function(t,e){for(var n,a=!0,i=arguments.length,o=Array(i>2?i-2:0),s=2;sO&&(O=t.tree.length)});var C=Object(g.head)(I),S=Object(g.head)(_),E=Object(f.b)(),j=Object(m.b)(),T=Object(g.head)(C);if(E.series.data=T.data,j.series.data=S,j.series.markLine.data[0][1].coord[1]=O,d()(s,{treeOptions:E,currentTreeData:{id:T.data[0].treeid,size:T.size,maxDepth:T.maxDepth,treeWidth:T.treeWidth},treesOverviewData:C,maxTreeSize:O,treesLineData:j}),w>=3){s.allTreesOverviewData=I,s.allTreesLineSeriesData=_;var N=[];"guest"===n?Object(g.each)(x,function(t,e){var n=e+": "+t;N.push({value:e,label:n})}):"host"===n&&Object(g.each)(w,function(t){N.push({value:t,label:t})}),s.classOptions=N}if(p&&p.length>0){var k=p.length,L=Object(v.b)(),D=new Array(k),R=new Array(k),F=void 0,P=new Array(k),M=0,B=new Array(k);p.forEach(function(t,e){var r=k-e-1,i=t.importance;D[r]=i,(null==F||i>F)&&(F=i);var o=t.sitename.split(":"),s=u()(o,2),p=s[0],d=s[1],h=p===n&&d===a?c[t.fid]:t.fid+"";P[r]=h;var f=h?h.toString().length:(void 0===h?"undefined":l()(h)).length;f>M&&(M=f),B[r]=t.sitename}),P=P.map(function(t){return t||(t=void 0===t?"undefined":l()(t)),t.toString().padEnd(M," ")}),R.fill(F),L.series[0].data=R,L.series[1].data=D,L.series[1].name="importance",L.series[0].label.formatter=function(t){return Object(h.b)(D[t.dataIndex])},L.yAxis[0].data=P,L.yAxis[1].data=B,s.variableImportanceOptions=L;var U=p.map(function(t){if((t=o()({},t)).sitename.indexOf("host")>-1&&n.indexOf("host")<0){var e=t.sitename.match(/[0-9]+$/)[0];e&&(t.name="host_"+e+"_"+t.fid)}else t.name=c[t.fid];return t});s.featureTable={tBody:U}}if(c){var z=r()(c);if(z.length){var H=z.map(function(t){var e=u()(t,2),r=e[0];return{variable:e[1],featureIndex:n+"_"+a+"_"+r}});s.featureHostTable={tHeader:[{label:"variable",prop:"variable"},{label:"anonym in guest",prop:"featureIndex"}],tBody:H}}}return{importance:{type:"table",name:"importance",props:{data:s.featureTable?s.featureTable.tBody:[]}},featureHostTable:{type:"table",props:{name:"featureHostTable",header:s.featureHostTable.tHeader,data:s.featureHostTable.tBody}},treesLine:{type:"chart",name:"treesLineData",props:{options:s.treesLineData}},treeOptions:{type:"chart",name:"treeOptions",props:{options:s.treeOptions,zoom:!0}}}})},"8NUx":function(t,e,n){"use strict";n.r(e);var a=n("QdnX"),r=n("OjIB"),i=[{type:"index",label:"index",width:"70px"},{label:"leaf_id",prop:"leafId",showOverflowTooltip:!0},{label:"transformed_vector",prop:"vector",showOverflowTooltip:!0}],o=function(t,e){var n=function(t,e){var n=[];return Object(a.each)(t,function(t,a){n.push({leafId:t,vector:e[a]})}),n}(t,e),r=[],i={};return Object(a.each)(n,function(t){var e=function(t){return t.split("_")[1]}(t.vector),n="s_"+e;i[n]||(i[n]=[],r.push({label:e,value:n})),i[n].push(t)}),r.length>1?{selection:r,content:i}:{content:i[r[0].value]}};e.default=function(t){if(t&&t.sbt_transformer&&t.sbt_transformer.leaf_mapping){var e=[],n=t.sbt_transformer.leaf_mapping.meta,a=n.feat_name,s=n.index,l=o(s,a);return l.selection&&l.selection.length>1&&function(t,e){t.push({type:"form",props:{form:[Object(r.createFormComponent)("f-select","f-select",{options:e,label:"transformer_tree_id"})]}})}(e,l.selection),function(t,e){t.push({type:"table",props:{header:i,data:e,zeroFormat:"0",export:"sbt_feature_transformer"}})}(e,l.content),e}}},"8csx":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},"8gZQ":function(t,e,n){"use strict";n.r(e),n.d(e,"combineForPerformanceSum",function(){return h});var a=n("YEIV"),r=n.n(a),i=n("GQeE"),o=n.n(i),s=n("QdnX"),l=n("evsm"),c=n("saIk"),u=n("OjIB"),p=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};function d(t,e){var n={type:"form",props:{form:[{type:"f-tabs",props:{tabs:[function(t){var e={label:"Performance Summary"},n=o()(t);return n.length>1?e.children=function(){var t=[];return Object(s.each)(n,function(e){t.push({label:e,value:"ps_"+e})}),t}():e.value="ps_"+n[0],e}(t)],needRefresh:!1}}]}},a=function(t,e){var n=[];return Object(s.each)(t,function(t,a){n.push(p("ps_"+a,{metrics:r()({},a,t),xAyis:e},null,Object(l.b)(c.METRIC_TYPES.PERFORMANCE_SUM),"performance_summary",!0))}),n}(t,e);return[n,Object(u.createAsyncComponent)(a,!1)]}function h(t){var e=(t.props?t.props:t[1].props).data,n={},a=[],r=!1;return Object(s.each)(e,function(t){if(!r){var e=t.metric_namespace;n[e]=n[e]||{},t.auc||t.ks||(r=!0);var i=t.metric_name.toLowerCase();i.match("fold")&&i.match("iteration")||(!n[e].auc&&t.auc&&(n[e].auc={data:[],meta:{curve_name:"auc"}}),n[e].auc.data.push([t.metric_name,t.auc]),!n[e].ks&&t.ks&&(n[e].ks={data:[],meta:{curve_name:"ks"}}),n[e].ks&&n[e].ks.data.push([t.metric_name,t.ks]),a.push(t.metric_name))}}),r?[]:d(n,a)}},"8lCB":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAaElEQVQ4jWP8//8/AzUAE1VMoaZBLNgEj588i9e/lubGjOhiKGF0/OTZmVBmGgEHzIIamA4XARkEw8dOnJmJzMeH0dXSNowY8IQTtvDBaxAuDcPQRYQMppqLaBf9SKmbJDBcixEGBgYApxhYv2+ITlEAAAAASUVORK5CYII="},"8nZS":function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("EJiy"),l=n.n(s),c=n("QbLZ"),u=n.n(c),p=n("UasS"),d=n("QdnX"),h=n("OjIB"),f=function(t,e,n,a){return u()({type:t,name:e,props:n},a)},m=function(t,e,n){return null==e&&(e=t),"object"===(void 0===e?"undefined":l()(e))&&null==n&&(n=e),o()({prop:t,label:e},n)},v=function(t,e){return{label:t,value:e||t}};e.default=function(t,e,n,a){if(t.msg.toString().toLowerCase().match("no data"))return[];var i=t.data&&t.data.data,s=i.binningResult,l=i.hostResults,c=i.header,u=(t.data&&t.data.meta&&t.data.meta.meta_data).skipStatic,g=s,b=0,y="",x=[],w=[],A=void 0;if(Array.isArray(g)){var I=Object(d.head)(g);b=I.partyId,y=I.role,g=I.binningResult||{}}else b=g.partyId,y=g.role,g=g.binningResult;if(Object(d.isEmpty)(g)&&Object(d.isEmpty)(l))return[];var _=Object(p.default)(g,c,"guest",b,y,y,u),O=[],C=[];Object(d.each)(c,function(t){Object(d.each)(_.sourceData,function(e){if(t===e.variable)return O.push(e),!1}),Object(d.each)(_.options,function(e){if(t===e.value)return C.push(e),!1})}),_.sourceData=O,_.options=C,A=_,Object(d.each)(l,function(t,e){w.push(Object(p.default)(t.binningResult,c,"host",t.partyId,t.role,y,u)),x.push(t.partyId||e)});var S=void 0,E={},j=[f("search")],T=void 0,N=o()({},A.eventOptions),k=o()({},A.woeOptions),L=o()({},A.stackBarData),D=o()({},A.woeData);if(Object(d.each)(A.options,function(t){Object(d.each)(A.variableData,function(e,n){if(n===t.value)return E[t.value]=e,!1})}),"guest"===y){x.length>0?(j.push(f("f-select","tableSelection",{options:[v("guest"),v("host",x.map(function(t){return{label:t,value:t}}))],multiple:!0})),S={guest:A.sourceData}):S=A.sourceData;var R={guest:A.options};Object(d.each)(x,function(t,e){var n=w[e];S[t]=n.sourceData,R[t]=n.options;var a=n.variableData;Object(d.each)(n.options,function(t){Object(d.each)(a,function(e,a){if(t.value===a)return E[t.value=t.label]=e,N[t.value]=n.eventOptions[a],k[t.value]=n.woeOptions[a],L[t.value]=n.stackBarData[a],D[t.value]=n.woeData[a],!1})})});var F="";F=x.length>0?[v("guest",R.guest),v("host",x.map(function(t){return{label:t,value:R[t]}}))]:R.guest,T=[f("f-select","f-select",{options:F,supportFilter:!0})]}else T=[f("f-select","f-select",{options:A.options,supportFilter:!0})],S=A.sourceData;var P=[m("","index",{type:"index"}),m("variable","variable",{sortable:!0}),m("binning_count","binning_count",{sortable:!0})],M=[{type:"form",props:{form:T,toProperty:"select"}},{type:"table",props:{header:[m("","index",{type:"index"}),m("binning")],data:E,zeroFormat:"0",export:"feature_binning_detail"}}];if("guest"===y){var B=!0;for(var U in L){var z=L[U];r()(z)<=0&&(B=!1)}B&&M.push({type:"chart",name:"stackBar",props:{setting:N,options:L,export:"instance_distribution",detail:!1}});var H=!0;for(var $ in D){var W=D[$];r()(W)<=0&&(H=!1)}H&&M.push({type:"chart",name:"woe",props:{setting:k,options:D,export:"woe",detail:!1}})}return[[{type:"form",props:{form:j,toProperty:"tableSelection"}},{type:"table",props:{header:P,data:S,zeroFormat:"0",export:"feature_summary"}}],M].map(function(t){return Object(h.wrapGroupComponent)(t)})}},BCMh:function(t,e,n){"use strict";n.r(e);var a=n("sk9p"),r=n.n(a),i=n("QdnX"),o=n("evsm"),s=n("saIk"),l=function(t){return function(e){return t.includes(e)}},c=l([s.METRIC_TYPES.RECALL_MULTI_EVALUATION,s.METRIC_TYPES.PRECISION_MULTI_EVALUATION]),u=l([s.METRIC_TYPES.RECALL_BINARY_EVALUATION,s.METRIC_TYPES.PRECISION_BINARY_EVALUATION]);e.default=function(t){var e={};Object(i.each)(t.data,function(t,n){var a=Object(i.groupBy)(t,"meta.metric_type");Object(i.each)(a,function(t){var a=r()(t,2),i=a[0],o=a[1],s=i;c(i)?s="_multiEvaluation":u(i)&&(s="_binaryEvaluation"),e[s]||(e[s]={}),e[s][n]?e[s][n]=e[s][n].concat(o):e[s][n]=o})});var n=[];return Object(i.each)(e,function(t,e){var a=Object(o.b)(e);n.push(a(t))}),console.log(n),n}},BSnc:function(t,e,n){var a=n("+2Yw");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("0767c020",a,!0,{})},Bw9L:function(t,e,n){"use strict";var a=n("BSnc");n.n(a).a},C98N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".log-content[data-v-4d72c288] {\n height: 100%;\n white-space: pre-wrap;\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n}\n.log-contents[data-v-4d72c288] {\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n position: absolute;\n width: 100%;\n background: #fff;\n}\n.log-contents .log-lineNum[data-v-4d72c288] {\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n color: #c6c8cc;\n min-width: 50px;\n margin-right: 20px;\n font-size: 12px;\n text-align: left;\n line-height: 20px;\n}\n.log-contents .log-content[data-v-4d72c288] {\n color: #999ba3;\n font-size: 12px;\n text-align: left;\n text-indent: initial;\n line-height: 20px;\n}\n.log-tip[data-v-4d72c288] {\n width: 100%;\n text-align: center;\n color: #999ba3;\n}\n",""])},CQmJ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".combination__container[data-v-7a2005ca] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.template_nodata[data-v-7a2005ca] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n min-height: 200px;\n font-size: 1.45em;\n font-weight: bold;\n}\n",""])},CX6U:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".small-form-text {\n font-size: 12px !important;\n font-weight: normal !important;\n}\n.dialog-content {\n position: relative;\n height: 100%;\n}\n.dialog-content .report {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n}\n.dialog-content .dialog-tabs {\n margin: 0px;\n padding: 0 10px 10px 24px;\n height: 100%;\n background: #fff;\n}\n.dialog-content .dialog-tabs .el-tabs__content {\n height: calc(100% - 40px);\n}\n.dialog-content .dialog-tabs .el-tabs__content .el-tab-pane {\n height: 100%;\n width: 100%;\n padding-right: 12px;\n position: relative;\n overflow-y: auto;\n overflow-x: hidden;\n}\n",""])},CmYt:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAYklEQVQ4jWP8//8/AzUAE1VMoaZBLNgEjdyW4/XvuV2RjOhiKGFk5LZ8B5TpTsABO6EGeuBz0VQoJgSykeVpG0ZQsAmHuB+pBmHVMDxdhNdgqrmIptGfjUWMIBiuxQgDAwMAYOQYFZsgdawAAAAASUVORK5CYII="},CpoS:function(t,e,n){var a=n("p/T2");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("19dbdbd5",a,!0,{})},Do9X:function(t,e,n){var a=n("N97a");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("5b0c9170",a,!0,{})},EYjE:function(t,e,n){var a=n("C98N");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("96000c26",a,!0,{})},F5Pm:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("GQeE"),o=n.n(i),s=n("FyfS"),l=n.n(s),c=n("kjiq"),u=n("7Qib"),p=n("LvDl");function d(t,e){try{var n=t.toString().split(".");n=n.length>1?n[1].length:0;var a=e.toString().split(".");a=a.length>1?a[1].length:0;var r=Number(t.toString().replace(".","")),i=Number(e.toString().replace(".","")),o=Object(p.multiply)(Object(p.divide)(r,i),Math.pow(10,a-n));return o.toString().length>8&&(o=parseFloat(o.toFixed(t.toString().length+2))),o}catch(t){}}function h(t,e,n){try{var a=0,r=n.toString().split(".").length>1?n.toString().split(".")[1].length:0;r<2&&(r=2);var i=t.toFixed(r),o=e.toFixed(r);a+=i.split(".").length>1?i.split(".")[1].length:0,a+=o.split(".").length>1?o.split(".")[1].length:0;var s=Number(i.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,a),l=s.toString().split(".");return s.toString().split(".").length>1&&(l[1].match(/([0-9])/)||(s=parseInt(s))),s}catch(t){}}function f(t){var e=0,n=!0,a=!1,r=void 0;try{for(var i,o=l()(t);!(n=(i=o.next()).done);n=!0){var s=i.value;s>e&&(e=s)}}catch(t){a=!0,r=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}var c=e.toString().split("."),u=c.length>1&&c[1].match(/^0+/)?c[1].match(/^0+/)[0].length:0;u?u+=2:u=2;for(var p=parseFloat(e.toFixed(u));p
"}),e};var v=s,g=Object(c.b)();g.series.push({name:"train_%total",type:"bar",data:e.expected_percentage,itemStyle:{color:"#5E7FEB"},barMaxWidth:15,pairType:e.name}),g.series.push({name:"val_%total",type:"bar",data:e.actual_percentage,itemStyle:{color:"#0Ec7a5"},barMaxWidth:15,pairType:e.name}),g.series.push({name:"train_event_ratio",type:"line",yAxisIndex:1,data:e.train_pos_perc,itemStyle:{color:"#FF9E1F"},pairType:e.name}),g.series.push({name:"val_event_ratio",type:"line",yAxisIndex:1,data:e.validate_pos_perc,itemStyle:{color:"#FF4F38"},pairType:e.name}),g.legend.data=["train_%total","val_%total","train_event_ratio","val_event_ratio"],g.xAxis.data=e.intervals,g.yAxis[0].name="%total";var b=f([].concat(r()(e.expected_percentage),r()(e.actual_percentage)));g.yAxis[0].max=b,g.yAxis[0].interval=d(b,5),g.yAxis[0].axisLabel.formatter=function(t){return h(t,100,b)+" %"},g.yAxis[1].name="event_ratio";var y=f([].concat(r()(e.train_pos_perc),r()(e.validate_pos_perc)));return g.yAxis[1].max=y,g.yAxis[1].interval=d(y,5),g.yAxis[1].axisLabel.formatter=function(t){return h(t,100,y)+" %"},g.tooltip.formatter=function(t){var e=t[0].name+"
";return t.forEach(function(t){e+=t.seriesName+": "+(100*t.data).toFixed(4)+"%
"}),e},{summaryTable:a.concat([{actual:"total",psi:"Total PSI: "+n,_total:!0}]),summaryPic:v,quantileTable:a,quantilePic:g}}e.default=function(t){for(var e={},n={},a={},r={},i=[],s=t?o()(t):[],l=0,c=s.length;l
",t.forEach(function(t){var n=Array.isArray(t.data)?t.data[1]:t.data;t.seriesName.toLowerCase().match("precision")?e+="Precision("+t.seriesName.replace("_Precision","")+"): "+n+"
":t.seriesName.toLowerCase().match("recall")&&(e+="Recall("+t.seriesName.replace("_Recall","")+"): "+n+"
")}),e},e.push({type:"chart",props:{options:o,setting:s,legend:"custom",group:Object(i.f)(c)}})}),e.length>1?e:e[0]}},IxTP:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".table-search {\n margin-bottom: 12px;\n}\n.table-search .search-input {\n max-width: 150px;\n}\n.table-search .search-input .el-input__inner {\n background: #F8F8FA;\n height: 24px;\n border: 0px;\n border-radius: 2px;\n width: 130px;\n padding-right: 20px;\n line-height: 24px;\n}\n.table-search .search-input .el-input-group__append {\n border: 0px;\n border-radius: 2px;\n background: #F8F8FA;\n padding-right: 10px;\n padding-left: 0px;\n}\n.table-search .search-input .el-input__icon {\n line-height: 24px;\n margin-right: 7px;\n}\n.table-search .el-select {\n max-width: 135px;\n}\n.table-search .el-select .el-select__tags {\n border-radius: 2px;\n height: 16px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n.table-search .el-select .el-select__tags .el-tag {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n border-radius: 2px;\n height: 16px;\n margin-right: 2px;\n}\n.table-search .el-select .el-select__tags .el-tag .el-select__tags-text {\n line-height: 16px;\n}\n.table-search .el-select .el-select__tags .el-tag .el-tag__close {\n line-height: 16px;\n margin-top: 0px;\n}\n.table-search .el-select .el-input__inner {\n height: 24px;\n background-color: #fff;\n border: 2px solid #EBEDF0;\n border-radius: 2px;\n}\n.table-search .el-select .el-select__caret {\n line-height: 24px;\n}\n.header-section-style {\n background-color: #DEECFC !important;\n border: 1px solid #ffffff;\n color: #6A6C75;\n padding: 3px 0px;\n}\n.header-section-style .caret-wrapper {\n height: 22px;\n}\n.header-section-style .caret-wrapper .ascending {\n top: 0px;\n}\n.header-section-style .caret-wrapper .descending {\n bottom: 0px;\n}\n.default-cell-style {\n border: 1px solid #fff;\n border-bottom: 1px solid #fff !important;\n background-color: #FAFBFC;\n color: #999BA3;\n font-size: 12px;\n padding: 3px 0px;\n}\n.default-cell-first-col-style {\n background-color: #EBEDF0 !important;\n color: #6A6C75;\n}\n.default-cell-summary-font {\n color: #6a6c75;\n font-weight: bold;\n}\n.selction-row-choosed {\n background-color: #ebedf0 !important;\n color: #6A6C75;\n}\n.simple-input {\n display: block;\n width: 100%;\n background: transparent;\n font-size: 12px;\n color: inherit;\n -webkit-appearance: none;\n border: 0;\n outline: 0;\n padding: 3px 7px;\n text-align: center;\n}\n.simple-input:focus {\n text-align: left;\n}\n",""])},K4Y6:function(t,e,n){"use strict";n.r(e);var a=n("w5Yh");n.d(e,"default",function(){return a.default})},K4j0:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},L2p5:function(t,e,n){"use strict";var a=n("GYfr");n.n(a).a},M2ad:function(t,e,n){"use strict";var a=n("Pi7P");n.n(a).a},MG1N:function(t,e,n){"use strict";var a=n("jiEp");n.n(a).a},MTjI:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("QdnX"),l=6;function c(t,e){return(t/e*100).toFixed(4)+"%"}function u(t,e){var n=[],a=function(t){return t.reduce(function(t,e){return e.reduce(function(t,e){return e.toString().match(/[a-zA-Z]+/)?t:t+e},t)},0)}(e);return Object(s.each)(e,function(e){n.push(function(t,e,n){for(var a={},r=0;r
");var s=Array.isArray(a.data)?a.data[1]:a.data;r+=e+"("+a.seriesName+"): "+s+"
"}),r}},N=function(){return[{type:"index",label:"index",width:100},{prop:"variable",label:"variable",sortable:!0},{prop:"weight",label:"weight",sortable:!0}]},k=function(t,e){return{variable:t,weight:Object(g.b)(e)}},L=function(t,e){return[{type:"text",props:{content:"iterations: {iters}",data:{"{iters}":t},className:"small-form-text"}},{type:"text",props:{content:"converged: {isConverged}",data:{"{isConverged}":e},className:"small-form-text"}}]},D=function(t,e){return{type:"form",props:f()({form:t},e)}};function R(t,e,n){var a=t.oneVsRestResult,r=a.completedModels,i=a.oneVsRestClasses,o="host"===e.toLowerCase(),s="guest"===e,l=r.length,c={},u=Object(m.makeArray)(l),p={},d={},h=[];Object(m.each)(r,function(t,e){var n=t.weight,a=t.header,r=[];Object(m.each)(a,function(t){r.push(k(t,n[t]))}),o||r.push(k("intercept",t.intercept));var l="model_"+e+(s?":"+i[e]:"");u[e]=l,p[l]=t.iters,d[l]=t.isConverged,c[l]=r});var f=[];return u.length&&(f=[{type:"f-select",name:"select",props:{label:"one_vs_rest model",options:u.map(function(t){return{label:t.replace(/\:.+/,""),value:t}})},connect:["modelText","iterations","converged"]},{type:"text",name:"modelText",props:{content:"model label: {modelLabel}",data:{"{modelLabel}":function(t){var e=t.split(":");return i&&i.length>0?e[1]:t.replace(/\:.+/,"")}},className:"small-form-text",inner:!0}},{type:"text",name:"iterations",props:{content:"iterations: {iterations}",data:{"{iterations}":function(t){return p[t]}},className:"small-form-text",inner:!0}},{type:"text",name:"converged",props:{content:"converged: {converged}",data:{"{converged}":function(t){return d[t]}},className:"small-form-text",inner:!0}},{type:"search"}],h.push(D(f))),n&&f.splice(1,0,{type:"text",props:{content:"The Final Model Information:"}}),h.push({type:"table",props:{data:c,header:N(),export:"model_summary"}}),h}function F(t){var e=t.weight,n=t.intercept,a=t.needOneVsRest,r=[],i=[];if(Object(m.each)(e,function(t,e){r.push(k(e,t))}),!a){r.push(k("intercept",n));var o=t.isConverged,s=t.iters,l=L(s,o);i.push(D([].concat(u()(l),[{type:"search"}])))}return i.push({type:"table",props:{header:N(),data:r,export:"model_summary"}}),i}var P=function(){var t=l()(o.a.mark(function t(e){var n,a,r,i,s=e.name,l=e.originParam;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(v.c)(l.props);case 2:return n=t.sent,a=Object(b.default)(n.data),r=void 0,r=(r=s.startsWith("loss")?a.find(function(t){return"loss"===t.name}):s.startsWith("dbi")?a.find(function(t){return"dbi"===t.name}):a.find(function(t){return"curves"===t.name})).options[s],(i=Object(g.a)(l)).props.metrics=r,t.abrupt("return",i);case 10:case"end":return t.stop()}},t,void 0)}));return function(e){return t.apply(this,arguments)}}(),M=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:"async",props:r()({options:t,refresh:e?function(){var t=l()(o.a.mark(function t(n){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!x()(e)){t.next=4;break}e(n),t.next=6;break;case 4:return t.next=6,P(n);case 6:case"end":return t.stop()}},t,void 0)}));return function(e){return t.apply(this,arguments)}}():""},n)}}},OwHS:function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=function(t){return Object(a.default)("performanceSum",{yAxis:{name:"auc, ks",min:"dataMin"},xAxis:{type:"category",data:t.xAxis},grid:{top:"15%"},legend:{top:"10",right:"20",icon:"roundRect"}},void 0,null,!0)(t.metrics)}},P1SN:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("YEIV"),u=n.n(c),p=n("P2sY"),d=n.n(p),h=n("FyfS"),f=n.n(h),m=n("GQeE"),v=n.n(m),g=n("QbLZ"),b=n.n(g),y=n("7Qib"),x=n("2c2J").a.state.modelNameMap,w=function(t,e,n,a,r,i,o,s,l){if(0===t.length)return{data:[],size:0,maxDepth:0,treeWidth:0};var c=0,u=function(t){var u=t.arr,p=t.node,d=t.grandChildrenArr,h=void 0===d?[]:d,f=t.depth,m=void 0===f?0:f,v=t.rootNode,g=a[p.fid],b=o.toLowerCase().match(x.homoBoost.toLowerCase())?parseFloat(p.bid).toFixed(6):parseFloat(r[p.id]).toFixed(6),w=p.sitename.split(":")[0],A=p.sitename.split(":")[1],I=v&&void 0===b?v+"\n":"ID: "+p.id+"\n";return w!==e||A!==n||p.isLeaf||o.toLowerCase().match(x.homoBoost.toLowerCase())?o.toLowerCase().match(x.homoBoost.toLowerCase())&&!p.isLeaf&&g&&(I+=g+" <= "+(b||p.bid||0),-1===p.missingDir&&(I+="\nis a missing value"),I+="\n"):(I+=g+" <= "+(void 0!==b?b:p.bid||0),1!==(i[p.id]||p.missingDir)&&(I+="\nor missing"),I+="\n"),(p.isLeaf&&"guest"===e||p.isLeaf&&o.toLowerCase().match(x.homoBoost.toLowerCase()))&&!v&&(I+="weight: "+Object(y.b)(p.weight)+"\n"),o.toLowerCase().match(x.homoBoost.toLowerCase())||(I+="mix"===s.toLowerCase()&&e.toLowerCase().match("guest")&&-1===p.leftNodeid&&-1===p.rightNodeid&&0===m?"HOST"+(l?":"+l:""):(w&&w.toUpperCase())+" "+(A?":"+A:l?":"+l:"")),u.push({treeid:p.id,name:I,children:h}),m>c&&(c=m),void 0!==b},p=t.find(function(e){return e.id===t[0].id}),d=[],h=u({arr:d,node:p,rootNode:"mix"===s.toLowerCase()&&e.toLowerCase().match("guest")?"Multi nodes":""}),m=0;if("mix"===s.toLowerCase()&&!h&&e.toLowerCase().match("guest")){!function(t,e){var n=!0,a=!1,r=void 0;try{for(var i,o=f()(e);!(n=(i=o.next()).done);n=!0){var s=i.value;s.isLeaf&&u({arr:t,node:s,grandChildrenArr:[],depth:1})}}catch(t){a=!0,r=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}}(d[0].children,t),m=170*(d[0].children.length||1)}else{m=function e(n,a,r,i){++i;var o=0,s=t.find(function(t){return t.id===a}),l=t.find(function(t){return t.id===r});if(s){var c=[],p=s.leftNodeid,d=s.rightNodeid;u({arr:n,node:s,grandChildrenArr:c,depth:i}),o+=e(c,p,d,i)}else l&&(o+=170);if(l){var h=[],f=l.rightNodeid;o+=e(h,l.leftNodeid,f,i),u({arr:n,node:l,grandChildrenArr:h,depth:i})}else s&&(o+=170);return s||l||(o=170),o}(d[0].children,t[0].leftNodeid,t[0].rightNodeid,1)}return{data:d,size:t.length,maxDepth:c,treeWidth:m}},A=n("sqJL"),I=n("UOeh"),_=n("uNnm"),O=n("OjIB"),C=n("evsm"),S=n("QdnX"),E=n("J2iB"),j=n.n(E),T=n("saIk"),N=n("xjht"),k=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var c,u,p,d,h,f,m,v,g,y,x,w,A;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(c={party_id:a,role:i,component_name:s,job_id:l},u=void 0,p=void 0,d=[],h=void 0,f=void 0,m=void 0,v=[],!n||n.msg.match("no data")){t.next=22;break}if(n=Object(_.default)(n.data),Object(S.each)(n,function(t){if("others"===t.name)u=N.d.bind(null,b()({metrics:t.options},c));else if("iter"===t.name)h=N.d.bind(null,b()({metrics:t.options},c)),m=Object(C.b)("warmStart");else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(S.each)(t.options,function(e,a){n.push(D(a,b()({metrics:e},c),N.d,Object(C.b)(t.name),Object(_.explainCurves)(a).name,!0))}),d.push([e,Object(O.createAsyncComponent)(n)])}}),d.length&&Object(S.each)(d,function(t){e.push(t)}),!u){t.next=16;break}return t.next=15,u();case 15:p=t.sent;case 16:if(p&&(g=Object(C.b)(T.METRIC_TYPES.EVALUATION_SUMMARY),y=g(p.data)||[],(x=(x=[].concat(o()(y))).length>0?0===e.length?Object(O.wrapGroupComponent)(x):x:null)&&(e.length>1?e.splice(1,0,x):e.push(x))),!h){t.next=21;break}return t.next=20,h();case 20:f=t.sent;case 21:m&&(v=m(f),0===e.length?e.push(Object(O.wrapGroupComponent)(v)):e[0].options&&Array.isArray(e[0].options)?(w=e[0].options).unshift.apply(w,o()(v)):Array.isArray(e[0])&&(A=e[0]).unshift.apply(A,o()(v)));case 22:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),L=function(t,e,n,a){return b()({type:t,name:e,props:n},a)},D=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}},R=function(t,e){return{label:t,value:e}},F=[{label:"FEATURE",prop:"fullname",width:"110px",align:"left",showOverflowTooltip:!0,normal_deep:!0},{type:"weight",label:"",prop:"importance",much_deep:!0}],P=[{label:"FEATURE",prop:"fullname",width:"110px",align:"left",showOverflowTooltip:!0,normal_deep:!0},{type:"weight",label:"",prop:"gain",much_deep:!0}],M=[{label:"variable",prop:"variable"},{label:"anonym in guest",prop:"featureIndex"}],B=["73,78,206","7,135,210","1,161,194","107,142,0","2,135,69","236,118,0","225,51,51","130,53,180","212,0,120","82,85,112"];function U(t,e,n){var a=Object(y.a)(I.a),r=[],i=Object(y.a)(a.series),o=!0,s=!1,l=void 0;try{for(var c,u=f()(t);!(o=(c=u.next()).done);o=!0){var p=c.value;0===p[1]?(i.data.length>0&&(1===i.data.length&&(delete i.symbol,i.symbolSize=4),r.push(i),i=Object(y.a)(a.series)),i.data=[p],r.push(i),i=Object(y.a)(a.series)):(i.data=i.data||[],i.data.push(p))}}catch(t){s=!0,l=t}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}return r.push(i),a.series=r,a.series[0].markLine.data[0][1].coord[1]=e,a.yAxis.max=e,a.backgroundColor="#f8f8fa",a.color="#FF8800",a.tooltip.backgroundColor=n,a.tooltip.textStyle.color="#fff",a.tooltip.axisPointer.lineStyle.color=n,a}function z(t,e){if("string"==typeof e)return e;var n=t.split("_");return n.length>1?e[parseInt(n[0])]:e[0]}function H(t,e,n){var a=function(t,e,n){var a=t.data.data,r=t.data.meta,i=r.meta_data.workMode,o=r.module_name,s=a.featureNameFidMapping,l=a.trees,c=a.classes,u=a.treeDim,p=a.treePlan,d=function(t,e,n){var a=[];if(n>=3)if("guest"===t)e.forEach(function(t,e){var n="model_"+e;a.push({value:e,label:n,name:t})});else if("host"===t)for(var r=0;r
";return t.forEach(function(t){e+=t.seriesName+": "+("PSI"!==t.seriesName?(100*t.data).toFixed(4)+"%":t.data)+"
"}),e},i[r]=s}),i}(v,g,b,y),options:f(g,b,y)}}]}]}},R5W1:function(t,e,n){"use strict";var a=n("lS5Q");n.n(a).a},RAVm:function(t,e,n){"use strict";n.r(e);var a=n("OjIB"),r=n("QdnX");e.default=function(t){var e=t.reader_name.meta.table_info,n=[];Object(r.each)(e,function(t,e){var a={};a.variable=e,a.samples=t,n.push(a)}),Object(r.sortByName)(n,"variable");var i=[],o=t.reader_name&&t.reader_name.meta;return o&&(o.file_path&&i.push({type:"text",props:{content:"file path: "+o.file_path,className:"small-form-text"}}),o.file_count&&i.push({type:"text",props:{content:"file count: "+o.file_count,className:"small-form-text"}}),i.push.apply(i,[{type:"text",props:{content:"namespace: "+t.reader_name.meta.namespace,className:"small-form-text"}},{type:"text",props:{content:"name: "+t.reader_name.meta.table_name,className:"small-form-text"}}]),o.count&&i.push({type:"text",props:{content:"count: "+o.count,className:"small-form-text"}}),i.push.apply(i,[{type:"text",props:{content:"partitions: "+t.reader_name.meta.partitions,className:"small-form-text"}},{type:"text",props:{content:"storage engine: "+t.reader_name.meta.storage_engine,className:"small-form-text"}}]),n.length>0&&i.push.apply(i,[{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{data:n,header:[{type:"index",label:"index"},Object(a.createHeader)("variable","variable",{sortable:!0}),Object(a.createHeader)("samples","samples")],zeroFormat:"0",export:t.reader_name.meta.table_name,pageSize:-1}}])),i}},RZZm:function(t,e,n){var a=n("eomL");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("755370d4",a,!0,{})},S6YE:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t,e){var n=[];return t.forEach(function(t){n.push({type:"text",props:{content:t,className:"small-form-text",subContent:t.toLowerCase().match(/unmatched.*count/i)&&e.toLowerCase().match(/left/i)?"(Unmatched instance host variables are considered missing values)":""}})}),n},p=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var p,d,h,f,m,v,g,b,y,x,w,A;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(p=n.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(n.data,a,i,s,l))){t.next=23;break}d={},h=[],f=[],m=0;case 6:if(!(p.length>0)){t.next=22;break}return v=p.shift(),t.next=10,Object(c.sendMetricsDataRequest)(v);case 10:d=t.sent,g=d.data,b=g.data,y=g.meta,h=Object(c.textTransform)(b),x=h.findIndex(function(t){return t.toLowerCase().match(/unmatched/)}),w=y.join_method?y.join_method.replace("_"," "):"",x>=0&&w&&h.splice(x,0,"Join method: "+w),(A=u(h,w)).length>0&&f.unshift({type:"form",props:{form:[].concat(o()(A))}}),0===m&&0!==p.length||function(){var t=[],e=function(e,n){e[n]&&t.push(n.replace(/_/g," ")+": "+e[n].toString().replace(/_/g," "))};for(var n in y)n.match(/metric_type/i)||"name"===n||n.match(/join_method/i)||e(y,n);(A=u(t,w)).length>0&&f.push({type:"form",props:{form:[].concat(o()(A))}})}(),m++,t.next=6;break;case 22:return t.abrupt("return",[Object(c.wrapGroupComponent)(f)]);case 23:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},SNd3:function(t,e,n){"use strict";var a=n("n0uM");n.n(a).a},"SQ+b":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("3cDs"),u=n("QdnX"),p=function(t){var e=[];return t.forEach(function(t,n){e.push({prop:"cluster"+n,label:"Cluster"+n,showOverflowTooltip:!0})}),[{type:"index",label:"index"},{prop:"variable",label:"variable",pageFixed:!0}].concat(e)},d=function(t){var e=[],n={_total:!0},a=0,r=0;return t.forEach(function(t){a+=t.cluster[1],r+=t.cluster[2],e.push({custerLabel:"Cluster"+t.cluster[0],count:t.cluster[1],ratio:(100*t.cluster[2]).toFixed(4)+"%"})}),n.custerLabel="Total",n.count=a,n.ratio=Math.round(100*r)+"%",e.push(n),e},h=function(t,e){for(var n=[],a=e.length,r=function(a){n[a]={variable:e[a]},Object(u.each)(t,function(t,e){n[a]["cluster"+e]=t.centroid[a]})},i=0;i0&&g&&g.length>0&&(y=[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"text",props:{content:"count of clusters: "+e.data.data.countOfClusters,className:"small-form-text"}},{type:"text",props:{content:"max_interation: "+e.data.data.maxInteration,className:"small-form-text"}},{type:"text",props:{content:"converged: "+e.data.data.converged,className:"small-form-text"}}]}]),v&&v.length>0&&y.push({component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"title",props:{content:"Cluster Detail"}},{type:"table",props:{header:[{type:"index",label:"index"},{prop:"custerLabel",label:"custer label"},{prop:"count",label:"count"},{prop:"ratio",label:"ratio"}],data:d(v)}}]}),g&&g.length>0&&y.push({component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"title",props:{content:"Centroid Detail"}},{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{header:p(g),data:h(g,b),headerPagination:!0}}]}),(f=y).push.apply(f,o()(m)),t.abrupt("return",y);case 12:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=f},SeDR:function(t,e,n){"use strict";n.r(e);var a=n("Vae8");e.default=a.default},SqDN:function(t,e,n){"use strict";n.r(e);var a=n("w5Yh");n.d(e,"default",function(){return a.default})},TD7w:function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=Object(a.default)("Accuracy",{yAxis:{name:"accuracy"}},void 0,!0)},U8kZ:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNmZjY0NjQ7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTYiIGRhdGEtbmFtZT0i57uEIDE5MTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTYzNikiPg0KICAgIDxnIGlkPSLmpK3lnIZfNjMiIGRhdGEtbmFtZT0i5qSt5ZyGIDYzIiBjbGFzcz0iY2xzLTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk2NiA2MzYpIj4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iOSIgY3k9IjkiIHI9IjkiLz4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0zIiBjeD0iOSIgY3k9IjkiIHI9IjgiLz4NCiAgICA8L2c+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTYiIGRhdGEtbmFtZT0i55u057q/IDExNiIgY2xhc3M9ImNscy0xIiB4Mj0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTciIGRhdGEtbmFtZT0i55u057q/IDExNyIgY2xhc3M9ImNscy0xIiB4MT0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogIDwvZz4NCjwvc3ZnPg0K"},U9kv:function(t,e,n){var a=n("uy/s");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("ff63f00e",a,!0,{})},UAQg:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("rfXi"),d=n.n(p),h=n("jWXv"),f=n.n(h),m=n("YEIV"),v=n.n(m),g=n("xjht"),b=n("uNnm"),y=n("evsm"),x=n("QdnX"),w=n("OjIB"),A=n("GoyQ"),I=n.n(A),_=n("gPpF"),O=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,p,d,h,f,m;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u={party_id:a,role:i,component_name:s,job_id:c,isEvaluation:!0},p=[],d=[],h=void 0,f=void 0,n&&!n.msg.match("no data")&&(n=Object(b.default)(n.data),Object(x.each)(n,function(t){if("others"===t.name)h=(h=Object(y.b)(t.name)).bind(null,t,u);else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(x.each)(t.options,function(e,a){console.log(t.name,"nams"),n.push(C(a,l()({metrics:e},u),g.d,Object(y.b)(t.name),Object(b.explainCurves)(a).name,!0))}),d.push([e,Object(w.createAsyncComponent)(n)])}})),!h){t.next=12;break}return t.next=9,h();case 9:m=t.sent,p.push.apply(p,o()(m)),f=S(p);case 12:return d.length&&Object(x.each)(d,function(t){f&&(t=E(t,f)),p.push(Object(w.wrapGroupComponent)(t))}),t.abrupt("return",p);case 14:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),C=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};function S(t){var e=null;return Object(x.each)(t,function(t,n){var a=t.options;if(Object(x.each)(a,function(t,n){if("group"===t.type){var a=t.props.options;if(Object(x.each)(a,function(t,n){if("table"===t.type&&"OneVsRestEvaluation"===t.props.export){if(e=t.props.data,Array.isArray(e)){var a=e[0].name.split("_class")[0];e=v()({},a,e)}return!1}}),null!==e)return!1}}),null!==e)return!1}),e}function E(t,e){t=t||[];var n=new f.a;Object(x.each)(e,function(t,e){I()(t)?Object(x.each)(t,function(t,e){if(I()(t))Object(x.each)(t,function(t,e){if("dataset"===e)return n.add(t),!1});else if("dataset"===e)return n.add(t),!1}):"dataset"===e&&n.add(t)}),n=d()(n);var a=t[0]?t[0].props.form:[],r={label:"One vs Rest",children:function(){var t=[];return Object(x.each)(n,function(e){t.push({label:e,value:"ovr_"+e})}),t}()};if(a[0]&&"f-tabs"===a[0].type){var i=a[0].props.tabs;i[0]&&"loss"!==i[0].label.toLowerCase()&&i.push(r)}else a.push({type:"f-type",ptops:{tabs:[r]}}),t.push({type:"form",props:{form:a}});var o=t[1],s=[];if(Object(x.each)(n,function(t){s.push(C("ovr_"+t,{tableData:e,namespace:t},function(t){return t},_.default,"one_vs_rest",!0))}),o&&"async"===o.type){var l=o.props.options;l.push.apply(l,s)}else t.push(Object(w.createAsyncComponent)(s));return t}e.default=O},"UCI/":function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a);e.default=function(t){var e=t.data.data&&t.data.data.colMap,a=[],i={};return e&&r()(e).length>0?(r()(e).forEach(function(t){a.push({value:t,label:t}),i[t]=[],e[t].transformedHeaders.forEach(function(n,a){i[t].push({encoded_vector:n,value:e[t].values[a]})})}),[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[{type:"f-select",name:"f-selection",props:{options:a}}]}},{type:"table",props:{data:i,header:[{type:"index",label:"index"},{prop:"value",label:"value"},{prop:"encoded_vector",label:"encoded_vector"}],export:"encode_detail"}}]}]):[]}},UFPc:function(t,e,n){"use strict";var a=n("tlOW");n.n(a).a},UJde:function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("EJiy"),l=n.n(s),c=n("OjIB"),u=n("QdnX"),p=function(t,e,n){return null==e&&(e=t),"object"===(void 0===e?"undefined":l()(e))&&null==n&&(n=e),o()({prop:t,label:e},n)};e.default=function(t){var e=[];return Object(u.each)(t,function(t,n){Object(u.each)(t,function(t,n){var a=t.meta,i=a.weight_mode,o=a.class_weight,s=a.classes,l=a.sample_weight_name,c=[p("","index",{type:"index"}),p("label","label"),p("weight","weight")],d=[],h=[],f=[],m=[],v=null;h.push({type:"text",props:{content:"weight mode: "+i}}),l&&h.push({type:"text",props:{content:"column name: "+l}}),o&&r()(o).length>0&&(m=function(t){return{type:"f-select",props:{options:function(){var e=[];return e.push({label:"all",value:"default"}),Object(u.each)(t,function(t){e.push({label:t.label,value:"label"+t.label})}),e}(),styles:"width:auto;"}}}(f=function(t,e){var n=[];return Object(u.each)(e,function(e){n.push({label:e,weight:t[e]})}),n}(o,s)),v=function(t){var e={default:t};return Object(u.each)(t,function(t){e["label"+t.label]=[t]}),e}(f),h.push(m)),d.push({type:"form",props:{form:h}}),v&&d.push({type:"table",props:{header:c,data:v}}),e.push.apply(e,d)})}),e.length>0?Object(c.wrapGroupComponent)(e):null}},UMXJ:function(t,e,n){"use strict";n.d(e,"b",function(){return u});var a=n("gDS+"),r=n.n(a),i=n("UVkp"),o=n("eOYL"),s={drawText:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=c,t.here=l,e?(n||(n=o.a.getUUID("text")),e.drawLayer(n,t),n):new o.a(t)},LEFT:i.a.LEFT,RIGHT:i.a.RIGHT,CENTER:i.a.CENTER};function l(t){var e=this,n=e.$ctx.measureText(e.text).width,a=e.$meta.get("$translate")||{x:0,y:0},r=e.point.x||e.point[0]||0,i=e.point.y||e.point[1]||0,o=(t.x||t[0]||0)-a.x,l=(t.y||t[1]||0)-a.y,c=parseInt(e.style.font),u=!1;return e.position===s.RIGHT?o>=r-n&&o<=r&&l>=i-c/2&&l<=i+c/2&&(u=!0):e.position===s.CENTER?o>=r-n/2&&o<=r+n/2&&l>=i-c/2&&l<=i+c/2&&(u=!0):o>=r&&o<=r+n&&l>=i-c/2&&l<=i+c/2&&(u=!0),u}function c(){var t=JSON.parse(r()(this.style));t.textBaseline=i.a.TEXTBASELINE,t.textAlign="left",this.position===s.RIGHT?t.textAlign="right":this.position===s.CENTER&&(t.textAlign="center"),this.style=t,function(){var t=this;t.text=t.text.toString();for(var e=t.$ctx,n=u(e,t.text,t.style),a=t.width||Math.ceil(n.width),r=parseInt(t.style.font),i=t.breakLine?t.height?Math.floor(t.height/(r+t.betweenEachLine))>t.breakLine?t.breakLine:Math.floor(t.height/(r+t.betweenEachLine)):t.breakLine:1,s=t.width&&Math.ceil(parseInt(n.width)/t.width)a;)m--;d.push(t.text.substr(h,m)),h+=m}if(l){var v=d[d.length-1].split("");v.splice(-3,3,"..."),d[d.length-1]=v.join("")}for(var g in e.save(),t.style)e[g]=t.style[g];t.angle&&o.a.rotate(e,t.point,t.angle);for(var b=0;b0?(a.push(u),o=!0):o=!1}else if(["table"].indexOf(c.type)>=0){var p=this.refOpera("comp"+l,"allSteps",t);p&&(o?O(a[a.length-1],p):a.push(p))}else if(["chart","async","group","tabs"].indexOf(c.type)>=0){if(this.refOpera("comp"+l,"getNames").find(function(t){return i.match(t)})){if(o)this.oldProperty[this.oldProperty.length-1].connectTo.push("comp"+l);this.needToAsyncProperty.push({data:o?a[a.length-1]:"default",comp:"comp"+l,compType:c.type,checkName:this.refOpera("comp"+l,"getNames"),position:a.length-1,name:c.name})}}}this.needToAsyncProperty.length>0&&(this.collecting=!0,this.$nextTick(function(){n.startAsyncRequest(t)})),this.dataCollection=a,this.collecting||(this.$emit("reporter",r()({},this.currentProperty,this.dataCollection),"group"),this.dataCollection="")},startAsyncRequest:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.currentArgs,e=this.needToAsyncProperty[0];if(e){var n=this.getNextProperty(e.data);if("default"===n){if(["chart"].indexOf(e.compType)>=0&&t.imply.length>0)this.currentComp=e,this.currentCompProp="",this.refOpera(e.comp,"setImply",t.imply)||this.refOpera(e.comp,"allSteps",t);else this.refOpera(e.comp,"allSteps",t);this.needToAsyncProperty.shift(),this.originProperty=[]}else if(n&&"default"!==n)if(this.currentComp=e,this.currentCompProp=n,n!==this.refOpera(e.comp,"getCurrentProperty").toString())this.refOpera(e.comp,"linkageChange",n,!1,t.imply);else if(["chart"].indexOf(e.compType)>=0&&t.imply.length>0){this.refOpera(e.comp,"setImply",t.imply)||this.refOpera(e.comp,"allSteps",t,n)}else this.refOpera(e.comp,"allSteps",t,n);else this.needToAsyncProperty.shift(),this.originProperty=[],this.startAsyncRequest()}else this.returnToOrigin(),this.collecting=!1,this.$emit("reporter",r()({},this.currentProperty,this.dataCollection),"group"),this.dataCollection="",this.originProperty=[]},asyncRequestRefreshed:function(){this.refOpera(this.currentComp.comp,"allSteps",this.currentArgs,this.currentCompProp)},combineReporter:function(t,e){var n=this,a=this.currentComp.data;if(a&&"default"!==a||"chart"!==e)if(a&&"default"!==a||"group"!==e)a&&"chart"===e?O(a,t):a&&"group"===e&&(1===t[this.currentCompProp].length?O(a,r()({},this.currentCompProp,t[this.currentCompProp][0])):(a.groups=a.groups||[],a.groups.push(t[this.currentCompProp])));else{var i;""===this.dataCollection&&(this.dataCollection=[]),(i=this.dataCollection).push.apply(i,l()(t.group))}else for(var o in t)this.dataCollection.push(t[o]);this.$nextTick(function(){n.startAsyncRequest()})},returnToOrigin:function(){for(var t=0,e=this.oldProperty.length;t
Tree Size: "+(0!==parseInt(t[0].data[1])?t[0].data[1]:"unknow")},backgroundColor:"#fff",textStyle:{color:"rgb(73,78,206)",fontSize:12,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", "Arial", "sans-serif"'},axisPointer:{type:"line",lineStyle:{color:"#FF9A4D",width:2}}},backgroundColor:"transparent",grid:{left:0,right:0,bottom:0,top:0,containLabel:!0},xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},yAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:{type:"line",symbol:"none",data:[],markLine:{lineStyle:{width:2,color:"#FF9A4D",type:"solid"},animation:!1,symbol:"none",data:[[{coord:[0,0]},{coord:[0,0]}]]}}}}n.d(e,"b",function(){return a}),e.a=a()},UVkp:function(t,e,n){"use strict";e.a={_RADIUS:4,_SANGLE:0,_EANGLE:2*Math.PI,LEFT_UP:"LEFT UP",RIGHT_UP:"RIGHT UP",LEFT_DOWN:"LEFT DOWN",RIGHT_DOWN:"RIGHT DOWN",CENTER:"CENTER",UP:"UP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",TEXTBASELINE:"middle",TEXTFAMILY:"Lato",TOLLTIP_TANGLE_SIZE:5,TOLLTIP_BETWEEN:5,TOLLTIP_PADDING:12}},UasS:function(t,e,n){"use strict";n.r(e);var a=n("EJiy"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("7Qib");var u=n("QdnX"),p=n("VEiK"),d=n.n(p);function h(t,e,n){return n?"-":"host"===e?"-":void 0===t||null===t?"-":Object(c.b)(t)}e.default=function(t,e,n,a,i,s){var p=arguments.length>6&&void 0!==arguments[6]&&arguments[6],f=arguments[7];if(Object(u.isEmpty)(t))return null;var m=function(){var r=[],u=[],m={},v={},g={},b={},y={},x=0,w=function(w){var A=[],I=[],_=-9999,O=t[w].ivArray.length>0?t[w].ivArray:t[w].splitPoints,C=t[w].splitPoints.length
"],a=!0,r=!1,i=void 0;try{for(var s,l=o()(t);!(a=(s=l.next()).done);a=!0){var c=s.value;"event_count"===c.seriesName?n.push("Event_Count: "+e.event_count+"
\n Event_Ratio: "+(100*parseFloat(e.event_ratio)).toFixed(4)+"%
"):"non_event_count"===c.seriesName&&n.push("Non_Event_Count: "+e.non_event_count+"
\n Non_Event_Ratio: "+(100*parseFloat(e.non_event_ratio)).toFixed(4)+"%
")}}catch(t){r=!0,i=t}finally{try{!a&&l.return&&l.return()}finally{if(r)throw i}}return n.sort(function(t,e){return t.match("Event_Count")&&e.match("Non_Event_Count")?1:t.match("Non_Event_Count")&&e.match("Event_Count")?-1:0}),n.join("")},T.tooltip.formatter=function(t){var e=I[t[0].dataIndex];return e.formatterBinning+"
Woe: "+e.woe+"
"},b[w]=j,y[w]=T,v[w]=t[w].eventCountArray.length>0&&t[w].nonEventCountArray.length>0?S:{};var N=[];N.push({name:"woe",type:"bar",data:t[w].woeArray,barMinWidth:"12",barMaxWidth:"15",itemStyle:{color:"#4159D1"}}),N.push({type:"line",tooltip:{show:!1},data:t[w].woeArray,lineStyle:{color:"#0EC7A5"}}),g[w]=t[w].woeArray.length>0?N:{},r.push({variable:w,anonymInGuest:function(){if(f&&f.length>0){var t=e.findIndex(function(t){return t===w});if(t>=0)return f[t]}if(s===i){var n=w.match(/[0-9]+/)?w.match(/[0-9]+/)[0]:x;return i+"_"+a+"_"+n}return w}(),iv:h(t[w].iv,s,p),binding:function(){if("guest"!==n)return w||"-";for(var t=0;t=this.$_startIndex;if(this.$_continuous!==b){if(b){l.clear(),c.clear();for(var y=0,x=r.length;y
");var r=Array.isArray(t.data)?t.data[1]:t.data;e+="Precision("+t.seriesName+"):"+r+"
",e+="Recall("+t.seriesName+"):"+t.axisValue+"
"}),e},e.push({type:"chart",props:{group:a.map(function(t){return l()(t,1)[0]}),options:i,setting:s,legend:"custom"}})}),e.length>1?e:e[0]}},eOYL:function(t,e,n){"use strict";var a=n("FyfS"),r=n.n(a),i=n("ODRq"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("gDS+"),u=n.n(c),p=n("iCc5"),d=n.n(p),h=n("V7oC"),f=n.n(h),m={click:!0,mouseup:!0,mousemove:!0,mousedown:!0,mousewheel:!0},v=function(){function t(e,n,a){d()(this,t),this.canvasDom=e,this.interactive=function(){var t=JSON.parse(u()(m));for(var e in n)t[e]=n[e];return t}(),this.inited=!1,this.afterInit=a,this.width=0,this.height=0,this._inited()}return f()(t,[{key:"_inited",value:function(){var t=this;if(this.canvasDom){this._suitable();var e=!1;this.lay&&(e=!0,this.lay.deleteAllAboutChain()),this.lay=function(){if(t.canvasDom)return t.afterInit(t.canvasDom)}(),this.scaleTime=1,this.translateX=0,this.translateY=0,this.holding=!1,this.moved=!1,this.originPos=null,this.lay.emit("$translate",this.translateX,this.translateY),!e&&this.lay&&this._addEvents()}}},{key:"_suitable",value:function(){if(this.canvasDom&&this.canvasDom.parentElement){var t=this.canvasDom.parentElement,e=getComputedStyle(t),n=parseInt(e.width),a=parseInt(e.height);this.canvasDom.setAttribute("style","width:"+n+"px;height:"+a+"px;overflow:hidden;"),this.canvasDom.setAttribute("width",n),this.canvasDom.setAttribute("height",a),this.width=n,this.height=a,this.inited=!0}}},{key:"_addEvents",value:function(){if(this.inited){var t=this;t.canvasDom.addEventListener("mousedown",function(e){e.stopPropagation(),e.preventDefault(),t.holding=!0,t.moved=!1,t.interactive.mousedown.operation&&t.interactive.mousedown.operation(t.lay)}),t.canvasDom.addEventListener("mousemove",function(e){if(e.stopPropagation(),e.preventDefault(),t.holding)if(null===t.originPos)t.originPos=t._getPos(e);else{var n=t._getPos(e);if(n.x!==t.originPos.x||n.y!==t.originPos.y){t.moved=!0;var a=n.x-t.originPos.x,r=n.y-t.originPos.y;t.translateX+=a,t.translateY+=r,t.originPos=n,!0===t.interactive.mousemove?(t.lay.$ctx.translate(a,r),t.lay.emit("$translate",t.translateX,t.translateY),t.lay.drawing()):t.interactive.mousemove&&t.interactive.mousemove.operation(t.lay,t.holding,a,r)}}else{var i=t._getPos(e);!0===t.interactive.mousemove?t.lay.emit("showTips",i):t.interactive.mousemove&&t.interactive.mousemove.operation(t.lay,t.holding,i)}}),t.canvasDom.addEventListener("mouseup",function(e){e.stopPropagation(),e.preventDefault(),t.holding=!1,t.originPos=null,t.interactive.mouseup.operation&&t.interactive.mouseup.operation(t.lay)}),t.canvasDom.addEventListener("click",function(e){if(e.preventDefault(),t.moved)t.moved=!1;else{var n=t._getPos(e);if(t.interactive.click.beforeClick&&t.interactive.click.beforeClick(),t.interactive.click.operation)t.interactive.click.operation(t.lay,n);else if(!0===t.interactive.click)t.lay.emit("choose",n);else if(t.interactive.click.props){var a;(a=t.lay).emit.apply(a,["choose",n].concat(l()(t.interactive.click.props)))}}}),t.canvasDom.addEventListener("mouseout",function(e){e.stopPropagation(),e.preventDefault(),t.originPos=null,t.holding=!1,t.interactive.mouseout&&t.interactive.mouseout.operation(t.lay)});var e=function(e){e.stopPropagation(),e.preventDefault();var n=t._getPos(e),a=e.wheelDelta||24*-e.detail,r=t.scaleTime+a/1500,i=(r=r<=.1?.1:r)/t.scaleTime;t.scaleTime=r,!0===t.interactive.mousewheel?t.lay.emit("scale",i,n):t.interactive.mousewheel&&t.interactive.mousewheel.operation(t.lay,i,n)};/Firefox/i.test(window.navigator.userAgent)?t.canvasDom.addEventListener("DOMMouseScroll",e):t.canvasDom.addEventListener("mousewheel",e),window.addEventListener("resize",function(){setTimeout(function(){t.interactive.resize?(t._suitable(),t.interactive.resize()):t._inited()},10)})}}},{key:"_getPos",value:function(t){var e=void 0,n=void 0;return t.layerX||0===t.layerX?(e=t.layerX,n=t.layerY):(t.offsetX||0===t.offsetY)&&(e=t.offsetX,n=t.offsetY),{x:e,y:n}}},{key:"suitableForWhole",value:function(t,e,n){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!this.inited)return!1;n=n||20;var r=this,i=this.canvasDom.width-2*n,o=this.canvasDom.height-2*n,s=t.call(this.lay),l=o/s.height,c=i/s.width,u=l