Class XGBoostPass
- java.lang.Object
-
- org.apache.nemo.common.pass.Pass
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.CompileTimePass
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.annotating.AnnotatingPass
-
- org.apache.nemo.compiler.optimizer.pass.compiletime.annotating.XGBoostPass
-
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 Summary
Constructors Constructor Description XGBoostPass()
Default constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IRDAG
apply(IRDAG dag)
static void
pushMessage(java.lang.String message)
-
Methods inherited from class org.apache.nemo.compiler.optimizer.pass.compiletime.annotating.AnnotatingPass
getExecutionPropertiesToAnnotate, getPrerequisiteExecutionProperties
-
Methods inherited from class org.apache.nemo.common.pass.Pass
addCondition, getCondition
-
-