Closed jaymo001 closed 1 year ago
Support high-dimensional tensor in derivations, e.g. derivations: { featureWithNullDerived:{ key: ["id"] inputs: { fv: {key: ["id"], feature: featureWithNull} } definition.sqlExpr: "coalesce(fv, ARRAY(ARRAY(\"aa\", \"bb\", \"cc\", \"dd\", \"ee\"), ARRAY(\"UNK\", \"UNK\", \"UNK\", \"UNK\", \"UNK\")))" type: { type: TENSOR tensorCategory: DENSE shape: [2,5] dimensionType: [INT, INT] valType: STRING } } }
Description
Support high-dimensional tensor in derivations, e.g. derivations: { featureWithNullDerived:{ key: ["id"] inputs: { fv: {key: ["id"], feature: featureWithNull} } definition.sqlExpr: "coalesce(fv, ARRAY(ARRAY(\"aa\", \"bb\", \"cc\", \"dd\", \"ee\"), ARRAY(\"UNK\", \"UNK\", \"UNK\", \"UNK\", \"UNK\")))" type: { type: TENSOR tensorCategory: DENSE shape: [2,5] dimensionType: [INT, INT] valType: STRING } } }