capacity2.0

jiekou


7.模型训练-全数据的容量分布接口

[TOC]

简要描述
  • 模型训练-全数据的容量分布接口
接口维护负责人:谭自强
请求URL
  • http://172.17.10.52:8080/pyapi/model_capacity_interval
请求方式
  • POST
请求参数
参数名 类型 说明
ModelName nvarhar 模型名称ID
请求示例
{
"ModelName": ""
}
返回示例
{
    "code": 200,
    "data": {
        "attribute_values": {
            "capaMax": "",
            "capaMean": "",
            "capaMed": "",
            "capaMin": "",
            "capaOneFourth": "",
            "capaStd": "",
            "capaThreeFourth": "",
            "sampleNum": ""
        },
        "interval_chart": {
            "X": [],
            "Y": []
        }
    },
    "msg": ""
}
返回参数说明
参数名 类型 说明
attribute_values dict {capamax :容量最大值,capamean:容量平均值,capaMed:容量中位数,capaMin:容量最小值,capaOneFourth:容量25%的值,capaStd:容量标准差,capaThreeFourth:容量75%的值,sampleNum:样本数
interval_char dict X:[横轴数据],Y:[纵轴数据]
请求示例
{
"ModelName": "4649171495409418241"
}
返回示例
{
    "code": 200,
    "data": {
        "attribute_values": {
            "capaMax": 4.008,
            "capaMean": 3.957,
            "capaMed": 3.958,
            "capaMin": 3.883,
            "capaOneFourth": 3.949,
            "capaStd": 11.33,
            "capaThreeFourth": 3.967,
            "sampleNum": 3962
        },
        "interval_chart": {
            "X": [
                3880,
                3890,
                3900,
                3910,
                3920,
                3930,
                3940,
                3950,
                3960,
                3970,
                3980,
                3990,
                4000,
                4010
            ],
            "Y": [
                4,
                2,
                7,
                6,
                6,
                72,
                896,
                1097,
                1205,
                624,
                41,
                1,
                1
            ]
        }
    },
    "msg": "success"
}
返回参数说明
参数名 类型 说明
attribute_values dict {capamax :容量最大值,capamean:容量平均值,capaMed:容量中位数,capaMin:容量最小值,capaOneFourth:容量25%的值,capaStd:容量标准差,capaThreeFourth:容量75%的值,sampleNum:样本数
interval_char dict X:[横轴数据],Y:[纵轴数据]
备注

页面列表

ITEM_HTML