kz930 opened a new pull request, #8348:
URL: https://github.com/apache/texera/pull/8348

   ### What changes were proposed in this PR?
   
   The last operator family implements `StandaloneCodeGenerator`: the 
scikit-learn estimators and their training counterparts, the four advanced 
trainers that read their hyperparameters from a table, the linear regression, 
the scorer, and the four Hugging Face models.
   
   A model operator's script is longer than a transform's because the engine 
does more for it. The estimators are fitted on one port and scored on the 
other, so the script holds both frames and narrows each by the same rule. A fit 
and a score taken on different columns would compare two different models.
   
   `JsonSchemaCustomizer` and its caller in `OperatorMetadataGenerator` come 
along because the advanced trainers implement it. The rules a hyperparameter's 
value follows are written into the schema at generation time, and without the 
call the schema carries none of them.
   
   Sklearn Prediction and Sklearn Testing are reported as unverifiable rather 
than exported blind. Each consumes a fitted model on an input port, and a 
fixture written from the JVM cannot carry a live Python object.
   
   ### Any related issues, documentation, discussions?
   
   Part of #8325. Builds on #8327, which adds the trait and the verification.
   
   ### How was this PR tested?
   
   `OperatorBehaviorSpec` runs each operator twice and compares the frames, 
across the configurations each schema offers — 73 runs, 2 withheld for the 
reason above.
   
   `WorkflowOperator` passes in full at 2583 tests.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 5)
   


-- 
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