Class ScriptExecutorUtils


  • public class ScriptExecutorUtils
    extends Object
    • Constructor Detail

      • ScriptExecutorUtils

        public ScriptExecutorUtils()
    • Method Detail

      • executeRuntimeProgram

        public static void executeRuntimeProgram​(ScriptExecutor se,
                                                 int statisticsMaxHeavyHitters)
        Execute the runtime program. This involves execution of the program blocks that make up the runtime program and may involve dynamic recompilation.
        Parameters:
        se - script executor
        statisticsMaxHeavyHitters - maximum number of statistics to print
      • executeRuntimeProgram

        public static void executeRuntimeProgram​(Program rtprog,
                                                 ExecutionContext ec,
                                                 DMLConfig dmlconf,
                                                 int statisticsMaxHeavyHitters,
                                                 Set<String> outputVariables)
        Execute the runtime program. This involves execution of the program blocks that make up the runtime program and may involve dynamic recompilation.
        Parameters:
        rtprog - runtime program
        ec - execution context
        dmlconf - dml configuration
        statisticsMaxHeavyHitters - maximum number of statistics to print
        outputVariables - output variables that were registered as part of MLContext