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

Convert boolean features to float in training data #416

Closed
wants to merge 1 commit into from
Closed

Convert boolean features to float in training data #416

wants to merge 1 commit into from

Commits on Jun 27, 2023

  1. Title: Convert boolean features to float in training data

    Body:
    This commit addresses a type mismatch issue in the neural network training function. The one-hot encoded rank features in the training data were boolean values, which caused a UFuncTypeError when trying to perform operations with float values in the error term formula.
    
    To fix this, we've added a line to convert all features in the training data to float. This converts the boolean rank features to numerical values (1.0 for True, 0.0 for False), which can be used in the error term formula without causing type errors.
    
    We've also updated the markdown documentation to explain this conversion.
    
    Changes:
    - Add line to convert features to float in training data
    - Update markdown documentation to explain boolean to float conversion
    NotSkynet committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    e7ed188 View commit details
    Browse the repository at this point in the history