[{"data":1,"prerenderedAt":645},["ShallowReactive",2],{"doc:\u002Fdocs\u002Fconnections\u002Fmlflow":3,"docs-nav":381},{"id":4,"title":5,"body":6,"description":372,"extension":373,"meta":374,"navigation":376,"path":377,"seo":378,"stem":379,"__hash__":380},"docs\u002Fdocs\u002Fconnections\u002Fmlflow.md","MLflow connections",{"type":7,"value":8,"toc":364},"minimark",[9,13,16,31,36,119,123,200,207,227,231,238,311,314,317,321,356],[10,11,5],"h1",{"id":12},"mlflow-connections",[14,15],"page-toc",{},[17,18,19,20,24,25,30],"p",{},"An MLflow connection is a tracking server that lives ",[21,22,23],"strong",{},"outside Tabularia",": the place where\nthe statistical models of a flow are recorded (experiments, runs, parameters, metrics, files\nand registered versions). It names the server's address and the way to sign in. Tabularia\ndoes not install or run MLflow. To try one on a Kubernetes cluster, see\n",[26,27,29],"a",{"href":28},"\u002Fdocs\u002Fdeploy\u002Fkind#14-optional-the-statistical-models-and-a-tracking-server-for-them-mlflow","an optional MLflow server next to Tabularia",".",[32,33,35],"h2",{"id":34},"at-a-glance","At a glance",[37,38,39,53],"table",{},[40,41,43],"thead",{"role":42},"rowgroup",[44,45,47,51],"tr",{"role":46},"row",[48,49],"th",{"role":50},"columnheader",[48,52],{"role":50},[54,55,56,76,92,111],"tbody",{"role":42},[44,57,58,65],{"role":46},[59,60,64],"td",{"role":61,"data-label":62,"data-place":63},"cell","","title","Where",[59,66,68,69,72,73],{"role":61,"data-label":62,"data-place":67},"meta","A folder in Explore, ",[21,70,71],{},"New → New connection",", type ",[21,74,75],{},"MLflow",[44,77,78,81],{"role":46},[59,79,80],{"role":61,"data-label":62,"data-place":63},"Used by",[59,82,83,84,86,87,91],{"role":61,"data-label":62,"data-place":67},"The ",[21,85,75],{}," block of the ",[26,88,90],{"href":89},"\u002Fdocs\u002Fcapabilities\u002Fmodels","statistical model"," nodes and the Predict node",[44,93,94,97],{"role":46},[59,95,96],{"role":61,"data-label":62,"data-place":63},"Authentication",[59,98,99,102,103,106,107,110],{"role":61,"data-label":62,"data-place":67},[21,100,101],{},"None",", ",[21,104,105],{},"User and password"," (MLflow's basic-authentication app) or ",[21,108,109],{},"Bearer token"," (a reverse proxy or an identity provider in front of MLflow)",[44,112,113,116],{"role":46},[59,114,115],{"role":61,"data-label":62,"data-place":63},"Permissions",[59,117,118],{"role":61,"data-label":62,"data-place":67},"CONNECT on the connection's folder, to create it and to choose it in a node",[32,120,122],{"id":121},"the-fields","The fields",[37,124,125,135],{},[40,126,127],{"role":42},[44,128,129,132],{"role":46},[48,130,131],{"role":50},"Field",[48,133,134],{"role":50},"Meaning",[54,136,137,153,160,168,176,184,192],{"role":42},[44,138,139,142],{"role":46},[59,140,141],{"role":61,"data-label":131,"data-place":63},"Tracking URI",[59,143,144,148,149,152],{"role":61,"data-label":134,"data-place":67},[145,146,147],"code",{},"https:\u002F\u002Fmlflow.example.com",", with its path if the server has one (",[145,150,151],{},"https:\u002F\u002Fhost\u002Fmlflow","). No user, password, query or fragment in it.",[44,154,155,157],{"role":46},[59,156,96],{"role":61,"data-label":131,"data-place":63},[59,158,159],{"role":61,"data-label":134,"data-place":67},"None, User and password, or Bearer token.",[44,161,162,165],{"role":46},[59,163,164],{"role":61,"data-label":131,"data-place":63},"User",[59,166,167],{"role":61,"data-label":134,"data-place":67},"For User and password.",[44,169,170,173],{"role":46},[59,171,172],{"role":61,"data-label":131,"data-place":63},"Password or token",[59,174,175],{"role":61,"data-label":134,"data-place":67},"Encrypted, and never shown again. Editing, an empty field keeps the stored one.",[44,177,178,181],{"role":46},[59,179,180],{"role":61,"data-label":131,"data-place":63},"Verify the server's certificate",[59,182,183],{"role":61,"data-label":134,"data-place":67},"On by default. Off only on a network you trust: the credentials would go to a server nobody vouched for, and the audit log marks the connection.",[44,185,186,189],{"role":46},[59,187,188],{"role":61,"data-label":131,"data-place":63},"Certificate authority",[59,190,191],{"role":61,"data-label":134,"data-place":67},"Optional, with the verification on: your company's own authority (PEM), if it signed the server's certificate.",[44,193,194,197],{"role":46},[59,195,196],{"role":61,"data-label":131,"data-place":63},"Address for the browser",[59,198,199],{"role":61,"data-label":134,"data-place":67},"Optional: when people open MLflow at another address than the one Tabularia uses.",[17,201,202,203,206],{},"The secret goes ",[21,204,205],{},"only to the tracking server's address",": a redirect to another address is\nnot followed, and a new address, user or kind of authentication needs the secret typed\nagain before the connection can be saved.",[17,208,209,210,102,213,102,216,219,220,102,223,226],{},"Tabularia never calls the loopback, a link-local address (the clouds' metadata service),\na multicast or an unspecified address, whatever name leads to it: the check is made on the\naddress the name resolves to, at the moment of connecting. A tracking server on a private\nnetwork or in the cluster (",[145,211,212],{},"mlflow.mlflow.svc",[145,214,215],{},"10.x",[145,217,218],{},"192.168.x",") is the ordinary case and\nis allowed. The gateway calls the tracking server itself, never through a proxy of its\nenvironment (",[145,221,222],{},"HTTPS_PROXY",[145,224,225],{},"HTTP_PROXY","): through a proxy the check would see only the\nproxy's address. A tracking server that can be reached only through a proxy (a hosted MLflow\nbehind the company's outbound proxy) cannot be used: it does not answer, and the test and the\nrun page say that the proxy of the environment is not used.",[32,228,230],{"id":229},"test-connection","Test connection",[17,232,233,234,237],{},"The test only ",[21,235,236],{},"reads",", with the connection's credentials, before or after saving:",[37,239,240,253],{},[40,241,242],{"role":42},[44,243,244,247,250],{"role":46},[48,245,246],{"role":50},"Check",[48,248,249],{"role":50},"Call (MLflow REST API 2.0)",[48,251,252],{"role":50},"It tells you",[54,254,255,272,285,298],{"role":42},[44,256,257,260,269],{"role":46},[59,258,259],{"role":61,"data-label":246,"data-place":63},"Credentials",[59,261,262,265,266],{"role":61,"data-label":249,"data-place":67},[145,263,264],{},"POST \u002Fapi\u002F2.0\u002Fmlflow\u002Fexperiments\u002Fsearch"," with ",[145,267,268],{},"max_results = 1",[59,270,271],{"role":61,"data-label":252,"data-place":67},"The server is MLflow and the credentials work. This one decides the result.",[44,273,274,277,282],{"role":46},[59,275,276],{"role":61,"data-label":246,"data-place":63},"Version",[59,278,279],{"role":61,"data-label":249,"data-place":67},[145,280,281],{},"GET \u002Fversion",[59,283,284],{"role":61,"data-label":252,"data-place":67},"The server's version, when it says it.",[44,286,287,290,295],{"role":46},[59,288,289],{"role":61,"data-label":246,"data-place":63},"Model registry",[59,291,292],{"role":61,"data-label":249,"data-place":67},[145,293,294],{},"GET \u002Fapi\u002F2.0\u002Fmlflow\u002Fregistered-models\u002Fsearch?max_results=1",[59,296,297],{"role":61,"data-label":252,"data-place":67},"Models can be registered. A server without a database backend has no registry: runs can still be logged.",[44,299,300,303,308],{"role":46},[59,301,302],{"role":61,"data-label":246,"data-place":63},"Artifact proxy",[59,304,305],{"role":61,"data-label":249,"data-place":67},[145,306,307],{},"GET \u002Fapi\u002F2.0\u002Fmlflow-artifacts\u002Fartifacts",[59,309,310],{"role":61,"data-label":252,"data-place":67},"Files can be uploaded through the server. Without it, only parameters, metrics and tags can be logged.",[17,312,313],{},"A failure is named: the address cannot be reached or no answer in time (both say the proxy of\nthe environment is not used), a certificate not signed by a trusted authority or not valid for\nthe address, wrong credentials (401), not allowed (403), no MLflow API at the address (404), a\nredirect to another address, or an answer that is not MLflow's. The server's own text is never\nshown.",[17,315,316],{},"The calls are the ones of MLflow's REST reference (API 2.0). Tabularia's own tests run against a\nstand-in of that API, and it has been tried against a real server, MLflow 2.22.0, with its basic\nauthentication, its artifact proxy and a model registry on SQLite.",[32,318,320],{"id":319},"what-a-model-records-here","What a model records here",[17,322,323,324,327,328,331,332,335,336,339,340,343,344,347,348,351,352,30],{},"A run of a flow whose model node names this connection writes to the experiment the node names\n(created when missing): the node's parameters and the model's formula, every number of the fit\nand the statistic and p-value of each assumption as metrics, tags that say which flow, node and\nversion of the model made it, and, when the server has an artifact proxy, the results, the\ncoefficients, the report as PDF and the model with its card (for XGBoost and CatBoost, also the\nmodel's own file, ",[145,325,326],{},"xgboost.json"," or ",[145,329,330],{},"catboost.cbm",", never a pickle; the learning curves are\nrecorded as metric histories, one point a tree; the distributions of an automatic parametric\nsurvival fit and the purchase models of a customer lifetime fit are recorded as ",[145,333,334],{},"candidate.*"," metrics). With ",[21,337,338],{},"Register the model as",", each\nrun adds a version of that registered model, which the ",[21,341,342],{},"Predict"," node can apply. The Bayesian model node records the sampler's facts and the summary of its quantities, never the draws, and Predict does not apply\nits registered versions. The editor's\n",[21,345,346],{},"Run"," logs nothing. The connection's secret is used only by the gateway: it never reaches the\nJob that fits the model. The details, and ",[21,349,350],{},"Continue without MLflow",", are in\n",[26,353,355],{"href":354},"\u002Fdocs\u002Fcapabilities\u002Fmodels#mlflow","Statistical models: MLflow",[17,357,358,359,363],{},"See ",[26,360,362],{"href":361},"\u002Fdocs\u002Fconnections","Connections"," for what every type has in common.",{"title":62,"searchDepth":365,"depth":366,"links":367},2,3,[368,369,370,371],{"id":34,"depth":365,"text":35},{"id":121,"depth":365,"text":122},{"id":229,"depth":365,"text":230},{"id":319,"depth":365,"text":320},"An MLflow connection is a tracking server that lives outside Tabularia: the place where\nthe statistical models of a flow are recorded (experiments, runs, parameters, metrics, files\nand registered versions). It names the server's address and the way to sign in. Tabularia\ndoes not install or run MLflow. To try one on a Kubernetes cluster, see\nan optional MLflow server next to Tabularia.","md",{"source":375},"docs\u002Fconnections\u002Fmlflow.md",true,"\u002Fdocs\u002Fconnections\u002Fmlflow",{"title":5,"description":372},"docs\u002Fconnections\u002Fmlflow","0kMPtwjRQgAkKyjSlH7Z-ZFNfr-hqXl9B1a4S4t-BWY",[382,404,472,492,521,548,580,605,631],{"title":383,"icon":384,"intro":385,"items":386},"Getting started","start","Install it on one machine, learn the few ideas everything else is built on, and run a first flow.",[387,389,392,395,398,401],{"path":388,"title":383},"\u002Fdocs\u002Fgetting-started",{"path":390,"title":391},"\u002Fdocs\u002Fgetting-started-docker-compose","Walkthrough with Docker Compose",{"path":393,"title":394},"\u002Fdocs\u002Fdeploy\u002Fminikube","Try it on your computer (minikube)",{"path":396,"title":397},"\u002Fdocs\u002Fconcepts","Concepts",{"path":399,"title":400},"\u002Fdocs\u002Fhow-it-works","How it works",{"path":402,"title":403},"\u002Fdocs\u002Foverview","Overview (README)",{"title":405,"icon":406,"intro":407,"items":408},"Capabilities","capabilities","What you can build: visual flows, analysis on any step, AI questions, pixel-perfect reports, dashboards, Python, R and SQL scripts, containers and the orchestration that ties them together.",[409,412,415,418,421,424,427,430,433,436,439,442,445,448,451,454,457,460,463,466,469],{"path":410,"title":411},"\u002Fdocs\u002Fcapabilities","All capabilities",{"path":413,"title":414},"\u002Fdocs\u002Fcapabilities\u002Fhome","The home page",{"path":416,"title":417},"\u002Fdocs\u002Fcapabilities\u002Fflows","Low-code flows",{"path":419,"title":420},"\u002Fdocs\u002Fcapabilities\u002Fpreview-and-analysis","Preview and analysis",{"path":422,"title":423},"\u002Fdocs\u002Fcapabilities\u002Flineage","Lineage",{"path":425,"title":426},"\u002Fdocs\u002Fcapabilities\u002Fask-your-data","Ask your data with AI",{"path":428,"title":429},"\u002Fdocs\u002Fcapabilities\u002Freports","Pixel-perfect reports",{"path":431,"title":432},"\u002Fdocs\u002Fcapabilities\u002Freport-functions","Report functions",{"path":434,"title":435},"\u002Fdocs\u002Fcapabilities\u002Fdashboards","Dashboards",{"path":437,"title":438},"\u002Fdocs\u002Fcapabilities\u002Fshare-links","Share links",{"path":440,"title":441},"\u002Fdocs\u002Fscripting","Python and R",{"path":443,"title":444},"\u002Fdocs\u002Fsql-scripts","SQL scripts",{"path":446,"title":447},"\u002Fdocs\u002Fdata-apis","Data APIs",{"path":449,"title":450},"\u002Fdocs\u002Fcapabilities\u002Fnotebooks","marimo notebooks as apps",{"path":452,"title":453},"\u002Fdocs\u002Fcontainer-node","Docker images in flows",{"path":455,"title":456},"\u002Fdocs\u002Fcapabilities\u002Fflow-groups","Flow groups: orchestration",{"path":458,"title":459},"\u002Fdocs\u002Fcapabilities\u002Fscheduling","Scheduling",{"path":461,"title":462},"\u002Fdocs\u002Fpushmail","Pushmail: datasources, reports and dashboards by email",{"path":464,"title":465},"\u002Fdocs\u002Fplaceholders","Dynamic dates",{"path":467,"title":468},"\u002Fdocs\u002Fcapabilities\u002Fengines","Engines",{"path":470,"title":471},"\u002Fdocs\u002Fengines\u002Fengine-differences","Engine differences",{"title":473,"icon":474,"intro":475,"items":476},"Statistics","statistics","Hypothesis tests on every engine and statistical models on Kubernetes: regression, survival, time series, experiments, customer lifetime and forecasting, each with a report that explains its method.",[477,480,483,485,488,489],{"path":478,"title":479},"\u002Fdocs\u002Fcapabilities\u002Fstatistics-overview","Statistics: the whole picture",{"path":481,"title":482},"\u002Fdocs\u002Fcapabilities\u002Fstatistics","Hypothesis tests",{"path":89,"title":484},"Statistical models",{"path":486,"title":487},"\u002Fdocs\u002Fcapabilities\u002Fbayesian-models","Bayesian models",{"path":377,"title":5},{"path":490,"title":491},"\u002Fdocs\u002Flicences","Licences of the components",{"title":493,"icon":494,"intro":495,"items":496},"Sources","sources","Every way data comes in: files, databases, buckets, SFTP folders, HTTP APIs, SharePoint, Google Sheets, and the results of your own flows.",[497,500,503,506,509,512,515,518],{"path":498,"title":499},"\u002Fdocs\u002Fsources","All sources",{"path":501,"title":502},"\u002Fdocs\u002Fsources\u002Ffiles","Uploaded files",{"path":504,"title":505},"\u002Fdocs\u002Fsources\u002Fdatabases","Database tables and queries",{"path":507,"title":508},"\u002Fdocs\u002Fs3-datasource","S3 buckets",{"path":510,"title":511},"\u002Fdocs\u002Fapi-datasource","HTTP APIs",{"path":513,"title":514},"\u002Fdocs\u002Fsources\u002Fsharepoint","Excel on SharePoint",{"path":516,"title":517},"\u002Fdocs\u002Fsources\u002Fgoogle-sheets","Google Sheets",{"path":519,"title":520},"\u002Fdocs\u002Fsources\u002Fflow-outputs","Results of flows and scripts",{"title":362,"icon":522,"intro":523,"items":524},"connections","The systems Tabularia reads from and writes to, how each connection is set up, and who may use it.",[525,527,530,533,536,539,542,545],{"path":361,"title":526},"All connections",{"path":528,"title":529},"\u002Fdocs\u002Fconnections\u002Fdatabases","Databases",{"path":531,"title":532},"\u002Fdocs\u002Fsqlserver","Microsoft SQL Server driver",{"path":534,"title":535},"\u002Fdocs\u002Fconnections\u002Fs3","S3 and compatible storage",{"path":537,"title":538},"\u002Fdocs\u002Fsftp","SFTP: files in and out",{"path":540,"title":541},"\u002Fdocs\u002Fconnections\u002Fsmtp","SMTP email",{"path":543,"title":544},"\u002Fdocs\u002Fcontainer-registries","Container registries",{"path":546,"title":547},"\u002Fdocs\u002Fconnections\u002Fdestinations","Writing data out",{"title":549,"icon":550,"intro":551,"items":552},"Integrations","integrations","How Tabularia fits your stack: AI providers, the REST API and webhooks, dbt, OpenLineage, single sign-on, SIEM and monitoring.",[553,556,559,562,565,568,571,574,577],{"path":554,"title":555},"\u002Fdocs\u002Fintegrations","All integrations",{"path":557,"title":558},"\u002Fdocs\u002Fintegrations\u002Fai","AI: where it is used",{"path":560,"title":561},"\u002Fdocs\u002Fapi","API, tokens and webhooks",{"path":563,"title":564},"\u002Fdocs\u002Fintegrations\u002Fmcp","MCP: agents outside Tabularia",{"path":566,"title":567},"\u002Fdocs\u002Fdbt-export","Export to dbt",{"path":569,"title":570},"\u002Fdocs\u002Fopenlineage","OpenLineage",{"path":572,"title":573},"\u002Fdocs\u002Fsso-keycloak","Single sign-on with Keycloak",{"path":575,"title":576},"\u002Fdocs\u002Fsiem-splunk","Audit log to Splunk",{"path":578,"title":579},"\u002Fdocs\u002Fintegrations\u002Fmonitoring","Monitoring",{"title":581,"icon":582,"intro":583,"items":584},"Security & governance","governance","Who may see and do what, what is recorded, and how data quality and personal data are kept in check.",[585,588,590,593,596,599,602],{"path":586,"title":587},"\u002Fdocs\u002Fgovernance","Overview",{"path":589,"title":115},"\u002Fdocs\u002Fgovernance\u002Fpermissions",{"path":591,"title":592},"\u002Fdocs\u002Fgovernance\u002Faudit-log","Audit log",{"path":594,"title":595},"\u002Fdocs\u002Fgovernance\u002Fdata-contracts","Data contracts",{"path":597,"title":598},"\u002Fdocs\u002Fdesign\u002Fsso-group-mapping","SSO and group mapping",{"path":600,"title":601},"\u002Fdocs\u002Fexamples\u002Fkeycloak","Keycloak example on a laptop",{"path":603,"title":604},"\u002Fdocs\u002Fengines\u002Fclickhouse-ai-user","A ClickHouse user for the AI assistant",{"title":606,"icon":607,"intro":608,"items":609},"Install & operate","operate","Run it in production on Kubernetes, configure it, upgrade it and keep it healthy.",[610,613,616,619,622,625,628],{"path":611,"title":612},"\u002Fdocs\u002Fdeploy\u002Fkubernetes","Kubernetes and Helm",{"path":614,"title":615},"\u002Fdocs\u002Fdeploy\u002Fkind","A company-like cluster on one computer (kind)",{"path":617,"title":618},"\u002Fdocs\u002Fdeploy\u002Fupgrading","Upgrading, backups and restore",{"path":620,"title":621},"\u002Fdocs\u002Fdeploy\u002Frelease-checklist","Install and upgrade checklist",{"path":623,"title":624},"\u002Fdocs\u002Fconfiguration","Configuration reference",{"path":626,"title":627},"\u002Fdocs\u002Fengine-settings","Settings from the panel",{"path":629,"title":630},"\u002Fdocs\u002Fdatabase-migrations","Database migrations",{"title":632,"icon":633,"intro":634,"items":635},"Reference","reference","Release process and the remaining reference pages.",[636,639,642],{"path":637,"title":638},"\u002Fdocs\u002Flts","Long-term support",{"path":640,"title":641},"\u002Fdocs\u002Frelease-process","Release process",{"path":643,"title":644},"\u002Fdocs\u002Fcontributing\u002Fadding-a-node","Adding a node to the flow editor",1795854763135]