From a7ce4d24623065268eb6e9bd0075d220f3e5137c Mon Sep 17 00:00:00 2001 From: Mahmoud Rawas Date: Mon, 11 Sep 2017 13:45:43 +1000 Subject: [PATCH] Returning back LabeledPoint into public, in referece to the discussion in : https://github.com/dmlc/xgboost/pull/2532#discussion_r137172759 (#2677) --- .../src/main/scala/ml/dmlc/xgboost4j/LabeledPoint.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jvm-packages/xgboost4j/src/main/scala/ml/dmlc/xgboost4j/LabeledPoint.scala b/jvm-packages/xgboost4j/src/main/scala/ml/dmlc/xgboost4j/LabeledPoint.scala index 73bc91cf3c6a..48c9c83679fb 100644 --- a/jvm-packages/xgboost4j/src/main/scala/ml/dmlc/xgboost4j/LabeledPoint.scala +++ b/jvm-packages/xgboost4j/src/main/scala/ml/dmlc/xgboost4j/LabeledPoint.scala @@ -17,7 +17,7 @@ package ml.dmlc.xgboost4j /** Labeled training data point. */ -private[xgboost4j] case class LabeledPoint( +case class LabeledPoint( /** Label of this point. */ label: Float, /** Feature indices of this point or `null` if the data is dense. */