/*! For license information please see dll.246.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[246],{3379:function(e,t,a){"use strict";a.r(t);var n=a(0),l=a.n(n),r=a(1),i=a.n(r),u=a(1122),o=a.n(u),c=a(203),d=a.n(c),s=a(364),f=a.n(s),p=a(365),m=a(204),E=a(209),g=a(213),v=a(373),y=a(1833),S=a(200),q=a(966),R=function(e){var t=e.data,a=e.categorical,n=e.quantitative,r=e.t,i=e.logAction,u=e.onCreated,c=e.onGenerate;return l.a.createElement(v.default,{title:l.a.createElement("span",null,r("LASSO"),l.a.createElement(q.default,{title:r("LASSO"),content:r("LASSO-description")})),autoStart:!1,onGenerate:function(e,a,r,o){var s=l.a.createElement(y.default,{x:a,y:e,lambda:r,intercept:o,data:t,quantitative:n,onPredict:function(e,a,l){var r=f()(t,1),i=n.slice(),u="pred_lasso"+l;r[u]=e,d()(i,u)||i.push(u),r[u="resid_lasso"+l]=a,d()(i,u)||i.push(u),c(i,r)}});i(S.DATA_EXPLORER_LASSO_REGRESSION,{y:e,x:a,intercept:o,lambda:r}),u(s)}},l.a.createElement(m.default,{legend:r("outcome-y"),options:n,defaultValue:n[0]}),l.a.createElement(m.default,{legend:r("predictors-x"),multi:!0,options:o()(n.concat(a)),defaultValue:n[1],closeMenuOnSelect:!1}),l.a.createElement(g.default,{legend:l.a.createElement("span",null,"L1 Penalty Term ",l.a.createElement(p.default,{raw:"\\lambda"})),defaultValue:.001,min:1e-12,max:1,step:"any",rangeInputStyle:{width:260},numberInputStyle:{width:120}}),l.a.createElement(E.default,{legend:r("include-intercept"),defaultValue:!0}))};R.defaultProps={logAction:function(){}},R.propTypes={categorical:i.a.array.isRequired,quantitative:i.a.array.isRequired,data:i.a.object.isRequired,logAction:i.a.func,onGenerate:i.a.func.isRequired,onCreated:i.a.func.isRequired},t.default=R},966:function(e,t,a){"use strict";a.r(t);var n=a(0),l=a.n(n),r=a(1),i=a.n(r),u=a(77),o=a(974),c=a(971),d=a(970),s=a(998),f=function(e){var t=l.a.createElement(o.default,{id:"popover-positioned-right"},l.a.createElement(c.default,null,e.title),l.a.createElement(d.default,null,e.content));return l.a.createElement(s.default,{trigger:["hover","focus"],placement:"left",rootClose:!0,overlay:t},l.a.createElement(u.default,{size:"sm",variant:"outline-secondary",className:"question-button"},l.a.createElement("div",{className:"fa fa-question"})))};f.propTypes={content:i.a.oneOfType([i.a.string,i.a.node]).isRequired,title:i.a.string.isRequired},t.default=f}}]);