Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is the xgboost-predictor support batch query once? #52

Open
zuxinlin opened this issue Apr 26, 2022 · 0 comments
Open

is the xgboost-predictor support batch query once? #52

zuxinlin opened this issue Apr 26, 2022 · 0 comments

Comments

@zuxinlin
Copy link

in the xgboost4j, we can get the predict result once like follow:
DMatrix dMatrix = new DMatrix(finalFeatures, rowNum, columnNum, Float.NaN);
MyBooster booster = getBooster();
predict = booster.predict(dMatrix);

but use the xgboost-predictor, we can not get the result in once query, we need use the for loop. is it possible to support this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant