更新时间:2021-12-17 GMT+08:00
分享

查询单个联邦实例

功能介绍

查询单个联邦实例

URI

URI格式

GET https://{{Federal-IP}}/federated/v1/instance/{instanceId}?verssion={version}
参数说明,如表1所示。
表1 参数说明

参数

是否必选

类型

说明

instanceId

Y

String

联邦实例ID

version

N

String

联邦实例版本。 如果不传,表示删除实例的所有版本

请求

请求样例

GET https://{{Federal-IP}}/federated/v1/instance/a3qy1h0m?version=0.0.1

响应

成功响应样例如下所示,返回的是实例对象。样例代码中的参数说明,请参考“创建联邦实例”章节。

{
    "version": "0.0.1",
    "name": "SA_Case4",
    "description": null,
    "type": "experience",
    "serverType": "cloud",
    "status": "READY",
    "consoleStatus": "Ready",
    "baseAlgorithm": {
        "remote": {
            "projectId": "c708c4f3083948648c4d9a9c879ee9e6",
            "projectName": "ServiceAwareness_FL",
            "modelId": null
        },
        "local": null,
        "modelEvaluationIndex": [
            "accuracy"
        ],
        "localRunEnv": 2
    },
    "aggregateAlgorithm": {
        "type": "AVG",
        "superArgs": {
            "generalModelLearningRate": "1",
            "COMPRESS_FREEZE_PARAM_CLIENT": "false",
            "generalModelTestInterval": "10",
            "decayRate": "1",
            "nodeNumPerIteration": "3",
            "decaySteps": "1",
            "modelUpdateCompressionRatio": "1",
            "useBifurcation": "false",
            "maxIterateSteps": "300",
            "COMPRESS_RANDOM_PARAM": "false",
            "multipartCalc": "false",
            "iterateSteps": "500",
            "subModelIterateTimes": "20",
            "subModelLearningRate": "0.0005",
            "COMPRESS_FREEZE_PARAM_SERVER": "false",
            "modelChange": "0.0000001"
        }
    },
    "taskId": "taskId-2jaf13eo",
    "federatedTimes": null,
    "currentSubTaskId": "taskId-g1sy1lhf",
    "creator": "ai_train_s00453560",
    "createTime": "2019-11-09 11:43:10",
    "updateTime": "2019-11-09 11:43:10",
    "projectId": "050698b9de00d5e82f1dc0057ca15e62",
    "operationResult": "failed",
    "accuracy": null,
    "recallRate": null,
    "precision": null,
    "f1Score": null,
    "csbUserId": null,
    "csbAppId": null,
    "isPublic": false,
    "clients": [],
    "owner": true,
    "id": "a3qy1h0m"
}         
分享:

    相关文档

    相关产品

close