|
@@ -71,7 +71,7 @@ public class XGBoostTrain {
|
|
|
|
|
|
Object[] v = new Object[features.length + 1];
|
|
|
v[0] = label;
|
|
|
- v[0] = RandomUtils.nextInt(0, 2);
|
|
|
+// v[0] = RandomUtils.nextInt(0, 2);
|
|
|
for (int i = 0; i < features.length; i++) {
|
|
|
v[i + 1] = map.getOrDefault(features[i], 0.0d);
|
|
|
}
|