[jvm-packages] Expose setMissing method in XGBoostClassificationModel / XGBoostRegressionModel (#4643)
This commit is contained in:
parent
1aaf4a679d
commit
d333918f5e
@ -247,6 +247,8 @@ class XGBoostClassificationModel private[ml](
|
|||||||
|
|
||||||
def setTreeLimit(value: Int): this.type = set(treeLimit, value)
|
def setTreeLimit(value: Int): this.type = set(treeLimit, value)
|
||||||
|
|
||||||
|
def setMissing(value: Float): this.type = set(missing, value)
|
||||||
|
|
||||||
def setInferBatchSize(value: Int): this.type = set(inferBatchSize, value)
|
def setInferBatchSize(value: Int): this.type = set(inferBatchSize, value)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -242,6 +242,8 @@ class XGBoostRegressionModel private[ml] (
|
|||||||
|
|
||||||
def setTreeLimit(value: Int): this.type = set(treeLimit, value)
|
def setTreeLimit(value: Int): this.type = set(treeLimit, value)
|
||||||
|
|
||||||
|
def setMissing(value: Float): this.type = set(missing, value)
|
||||||
|
|
||||||
def setInferBatchSize(value: Int): this.type = set(inferBatchSize, value)
|
def setInferBatchSize(value: Int): this.type = set(inferBatchSize, value)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user