MLHelper


获取流程配置参数

[TOC]

简要描述
  • 获取流程配置参数
请求URL
  • /JobParam/{jobid}
请求方式
  • GET
参数
参数名 必选 类型 说明
jobid string 项目编号
返回示例
{
  "result": {
    "47aeb269-bd45-405a-90cc-d1d3e8c4b938": {
      "name": "source",
      "type": "sql",
      "packid": "38f21c4b-6784-434a-8887-5275f7f19ba4",
      "param": {
        "num": 100,
        "alis": "",
        "sql": "select * from xmr_test",
        "dbtype": "mysql",
        "info": {
          "host": "127.0.0.1",
          "port": 3306,
          "dbtype": "mysql",
          "database": "test",
          "user": "root",
          "password": "123456"
        },
        "model": "simple"
      },
      "cache": "cache",
      "children": [
        {
          "name": "dtransform",
          "type": "add_col",
          "alis": "",
          "packid": "f933cf3e-0dba-4db3-aaf5-08eb41e9a781",
          "param": {
            "add_dict": [
              {
                "col": "hhhhhh",
                "funcstr": "{spcdata}+100"
              }
            ]
          },
          "cache": "cache",
          "children": [
            {
              "name": "discretisation",
              "type": "ml",
              "alis": "",
              "packid": "d3e0ad64-604b-4088-8397-52b41aaa5cc4",
              "param": {
                "variables": [
                  "hhhhhh"
                ],
                "cv": 3,
                "scoring": "neg_mean_squared_error",
                "regression": true,
                "param_grid": null,
                "y": [
                  "spcdata"
                ]
              },
              "cache": "cache",
              "children": []
            }
          ]
        },
        {
          "name": "dtransform",
          "type": "add_col",
          "alis": "",
          "packid": "f2eca158-7ec3-4507-9d49-84b0edf67d48",
          "param": {
            "add_dict": [
              {
                "col": "xxxxxxx",
                "funcstr": "{spcdata}+50"
              }
            ]
          },
          "cache": "cache",
          "children": []
        }
      ]
    },
    "type": "job_param"
  },
  "status": 200,
  "message": "查询成功"
}
返回参数说明
参数名 类型 说明
status int 响应状态码
result dict 返回结果
message string 响应状态信息
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML