Class XGBoostPass

  • All Implemented Interfaces:
    java.util.function.Function<IRDAG,​IRDAG>

    public final class XGBoostPass
    extends AnnotatingPass
    Pass for applying XGBoost optimizations.

    1. The pass first triggers the client to run the XGBoost script, located under the `ml` python package. 2. The client runs the script, which trains the tree model using the metrics collected before, and constructs a tree model, which then predicts the 'knobs' that minimizes the JCT based on the weights of the leaves (JCT). 3. It receives the results, and in which direction each of the knobs should be optimized, and reconstructs the execution properties in the form that they are tuned. 4. The newly reconstructed execution properties are injected and the workload runs after the optimization.

    • Constructor Detail

      • XGBoostPass

        public XGBoostPass()
        Default constructor.
    • Method Detail

      • pushMessage

        public static void pushMessage​(java.lang.String message)
        Parameters:
        message - push the message to the message queue.