Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update XGBoost.py #423

Merged
merged 4 commits into from
Jan 6, 2021
Merged

Update XGBoost.py #423

merged 4 commits into from
Jan 6, 2021

Commits on Sep 28, 2020

  1. Update XGBoost.py

    When the type of feature_id is float there throw an error:
    "ValueError: invalid literal for int() with base 10:"
    Because you get a ValueError if you pass a string representation of a float into int, or a string representation of anything but an integer (including empty string). If you do want to pass a string representation of a float to an int, as it points out above, you can convert to a float first, then to an integer.
    Ref: https://stackoverflow.com/questions/1841565/valueerror-invalid-literal-for-int-with-base-10
    
    Signed-off-by: clc <clc.test.com>
    clhne authored and clc committed Sep 28, 2020
    Configuration menu
    Copy the full SHA
    d7471a4 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2020

  1. Configuration menu
    Copy the full SHA
    fc4f0db View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. Configuration menu
    Copy the full SHA
    49fa88d View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2021

  1. Configuration menu
    Copy the full SHA
    29d7159 View commit details
    Browse the repository at this point in the history