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

更新联邦实例

功能介绍

更新联邦实例

URI

URI格式:
PUT https://{{Federal-Address}}/federated/v1/instance

参数说明,与“创建联邦实例”章节相同。

请求

请求样例
PUT https://{{Federal-Address}}/federated/v1/instance
{
"name": "demo",
"creator": "qianlihai",
"type": "resourceEfficiency",
"description": null,
"version": "0.0.1",
"baseAlgorithm": {
"remote": {
"projectId": "fd9d055e57274a529284d9176"
},
"modelEvaluationIndex": ["accuracy"],
"localRunEnv": 1
},
"aggregateAlgorithm": {
"type": "SGD",
"superArgs": {
"subModelLearningRate": "0.01",
"subModelIterateTimes": "1",
"modelUpdateCompressionRatio": "1",
"nodeNumPerIteration": "2",
"generalModelLearningRate": "0.001",
"maxIterateSteps": "3",
"generalModelTestInterval": "1",
"modelChange": "0.0000001",
"COMPRESS_FREEZE_PARAM_SERVER":"false",
"COMPRESS_FREEZE_PARAM_CLIENT":"false",
"COMPRESS_RANDOM_PARAM":"false"
}
}
}

响应

与“创建联邦实例”章节相同。

分享:

    相关文档

    相关产品

close