Baunsgaard opened a new pull request, #2482:
URL: https://github.com/apache/systemds/pull/2482

   Adds a new builtin that, given a transform-encode metadata frame and the 
encoding JSON spec, returns a 1xN matrix mask marking which output columns are 
categorical (1) versus continuous (0). Useful when callers need to know the 
category boundary in transformed output without re-deriving it from the spec.
   
   - Register GET_CATEGORICAL_MASK in Builtins, Opcodes, Types (OpOp2), Builtin 
(functionobject)
   - Validate it as a frame+scalar binary in BuiltinFunctionExpression (new 
checkFrameParam helper) and lower it to a BinaryOp in DMLTranslator
   - Force CP execution for the new op in BinaryOp.optFindExecType
   - Implement runtime in BinaryFrameScalarCPInstruction and route FRAME+SCALAR 
binary instructions to it in BinaryCPInstruction
   - Add writeTestScalar(String, String) overload to TestUtils
   - Cover recode, dummycode, hash, and hybrid specs in GetCategoricalMaskTest 
(note: hash variants depend on the decoder/encoder hash-column changes in a 
separate branch)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to