Skip to content

how to use the code #3

Description

@amenglar

Dear Sir,
I am working on a project using xgboost, which I have to use c++ code. Your idea is really awesome. Thank you! I trained a model(classification of 0 and 1) with a medical dataset and tested with a piece of specific sample. I'v got a negative result(0). I dumped the model and used your code to generate a cpp code. Then I got two possibilities of 0.44 and 0.55. The results seem not the same if I understand it correctly.

From what I know, the model is a number of trees. And the sample goes through them. Normally I will get only one number? How does it give me two numbers, and possibilities based on them?

best wishes,
Jako

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions