Skip to content

Inplace Predict Java API (xgboost4j) #5951

@viswanathk

Description

@viswanathk

Hello.

I see that in the changelog for 1.1.0, a new API was added for thread safe prediction (inplace_predict). The current predict method exposed through xgboost4j is not thread safe, and hence marked as synchronized in the method.

Given that the inplace_predict can now do threadsafe prediction, what are the plans of adding this to the Java API? We use this library in a multithreaded Java application, and this can help boost performance.

Thanks,
Viswanath.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions