Skip to content

face the memory problem when use PredictFormat #88

Description

@Kwoks2017

I want to output the Shap values, and the code as follow:

double[] shap_values = model.predictForMat(featArray, 1, featArray.length, true, PredictionType.C_API_PREDICT_CONTRIB);

But when i did the stress testing, this code will come up with some problem and eventually kill the porcess. Is there any solutions to deal with high qps?

I tried to alloacte more memory, but it failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions