推荐系统 RES-全局特征信息文件:示例

时间:2024-09-07 16:00:54

示例

{
    "user_features":[
        {
            "feature_name":"provinceId",
            "feature_type":"BASIC_INFO",
            "feature_value_type":"string"
        },
        {
            "feature_name":"salary",
            "feature_type":"BASIC_INFO",
            "feature_value_type":"numerical"
        },
        {
            "feature_name":"hobbies",
            "feature_type":"BASIC_INFO",
            "feature_value_type":"strArray"
        },
        {
            "feature_name":"user_tags",
            "feature_type":"TAGS",
            "feature_value_type":"map"
        },
        {
            "feature_name":"payment_type",
            "feature_type":"CONTEXT",
            "feature_value_type":"string"
        }
    ],
    "item_features":[
        {
            "feature_name":"product_name",
            "feature_type":"BASIC_INFO",
            "feature_value_type":"string"
        },
        {
            "feature_name":"order_price",
            "feature_type":"BASIC_INFO",
            "feature_value_type":"numerical"
        },
        {
            "feature_name":"categories",
            "feature_type":"BASIC_INFO",
            "feature_value_type":"strArray"
        },
        {
            "feature_name":"item_tags",
            "feature_type":"TAGS",
            "feature_value_type":"map"
        }
    ]
}
support.huaweicloud.com/usermanual-res/res_01_0016.html