public abstract class SharedTreePojoWriter
extends java.lang.Object
implements hex.PojoWriter
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
_binomialOpt  | 
protected hex.genmodel.CategoricalEncoding | 
_encoding  | 
protected water.Key<?> | 
_modelKey  | 
protected hex.Model.Output | 
_output  | 
protected CompressedTree[][] | 
_trees  | 
protected TreeStats | 
_treeStats  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
SharedTreePojoWriter(water.Key<?> modelKey,
                    hex.Model.Output output,
                    hex.genmodel.CategoricalEncoding encoding,
                    boolean binomialOpt,
                    CompressedTree[][] trees,
                    TreeStats treeStats)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
toJavaCheckTooBig()  | 
water.util.SBPrintStream | 
toJavaInit(water.util.SBPrintStream sb,
          water.codegen.CodeGeneratorPipeline fileContext)  | 
void | 
toJavaPredictBody(water.util.SBPrintStream body,
                 water.codegen.CodeGeneratorPipeline classCtx,
                 water.codegen.CodeGeneratorPipeline fileCtx,
                 boolean verboseCode)  | 
protected abstract void | 
toJavaUnifyPreds(water.util.SBPrintStream body)  | 
protected final water.Key<?> _modelKey
protected final hex.Model.Output _output
protected final hex.genmodel.CategoricalEncoding _encoding
protected final boolean _binomialOpt
protected final CompressedTree[][] _trees
protected final TreeStats _treeStats
protected SharedTreePojoWriter(water.Key<?> modelKey,
                               hex.Model.Output output,
                               hex.genmodel.CategoricalEncoding encoding,
                               boolean binomialOpt,
                               CompressedTree[][] trees,
                               TreeStats treeStats)
public boolean toJavaCheckTooBig()
toJavaCheckTooBig in interface hex.PojoWriterpublic water.util.SBPrintStream toJavaInit(water.util.SBPrintStream sb,
                                           water.codegen.CodeGeneratorPipeline fileContext)
toJavaInit in interface hex.PojoWriterpublic void toJavaPredictBody(water.util.SBPrintStream body,
                              water.codegen.CodeGeneratorPipeline classCtx,
                              water.codegen.CodeGeneratorPipeline fileCtx,
                              boolean verboseCode)
toJavaPredictBody in interface hex.PojoWriterprotected abstract void toJavaUnifyPreds(water.util.SBPrintStream body)