guitargeek / XGBoost-FastForest

Minimal library code to deploy XGBoost models in C++.
MIT License
89 stars 30 forks source link

XGBoost regression #2

Closed Samsogmegre closed 4 years ago

Samsogmegre commented 4 years ago

Hello! Thank you for that nice library!

Does it support regression tasks? I try some examples, but it fall behind 0.5 from true value, compare to python code ( Python code: input: -4 predict 1, C++ code: input: -4, predict 0.5. ) Is it always behave like that?

Samsogmegre commented 4 years ago

By default base_score=0.5