Skip to content

Check failed: base_score > 0.0f && base_score < 1.0f: base_score must be in (0,1) for logistic loss, got: -0 when copy underlying booster #5699

@sh1ng

Description

@sh1ng

version 1.1

Looks similar to #5276

[2020-05-22T15:21:46.406Z] xgboost.core.XGBoostError: [15:21:45] /root/repo/xgboost/src/objective/./regression_loss.h:89: Check failed: base_score > 0.0f && base_score < 1.0f: base_score must be in (0,1) for logistic loss, got: -0
[2020-05-22T15:21:46.406Z] Stack trace:
[2020-05-22T15:21:46.406Z]   [bt] (0) /opt/h2oai/dai/cpu-only/lib/python3.6/site-packages/xgboost/lib/libxgboost.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x6a) [0x1506d9a1377a]
[2020-05-22T15:21:46.406Z]   [bt] (1) /opt/h2oai/dai/cpu-only/lib/python3.6/site-packages/xgboost/lib/libxgboost.so(xgboost::obj::LogisticRegression::ProbToMargin(float)+0xbf) [0x1506d9cf650f]
[2020-05-22T15:21:46.406Z]   [bt] (2) /opt/h2oai/dai/cpu-only/lib/python3.6/site-packages/xgboost/lib/libxgboost.so(xgboost::LearnerIO::LoadModel(dmlc::Stream*)+0x14d2) [0x1506d9b23672]
[2020-05-22T15:21:46.406Z]   [bt] (3) /opt/h2oai/dai/cpu-only/lib/python3.6/site-packages/xgboost/lib/libxgboost.so(xgboost::LearnerIO::Load(dmlc::Stream*)+0x2c4) [0x1506d9b21c84]
[2020-05-22T15:21:46.407Z]   [bt] (4) /opt/h2oai/dai/cpu-only/lib/python3.6/site-packages/xgboost/lib/libxgboost.so(XGBoosterUnserializeFromBuffer+0x4e) [0x1506d9a1a74e]
[2020-05-22T15:21:46.407Z]   [bt] (5) /opt/h2oai/dai/lib/libffi.so.6(ffi_call_unix64+0x4c) [0x1507b54c6e2c]
[2020-05-22T15:21:46.407Z]   [bt] (6) /opt/h2oai/dai/lib/libffi.so.6(ffi_call+0x1f5) [0x1507b54c6755]
[2020-05-22T15:21:46.407Z]   [bt] (7) /opt/h2oai/dai/python/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so(_ctypes_callproc+0x283) [0x1507b56da683]
[2020-05-22T15:21:46.407Z]   [bt] (8) /opt/h2oai/dai/python/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so(+0x8d3f) [0x1507b56d1d3f]

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