Skip to content

Truncated feature names when loaded booster loaded from a file #26

Open
@geohardtke

Description

@geohardtke

Hi there!
First of all thanks for writing this awsome crate!

I just run into a problem. When loading a model from a file, the feature names get truncated to a n_features -1 length (i.e if I have 3 features, the names get truncated to 2 characters.)
I'm trying to fix the issue myself and if I can, I submit a PR :). But I'm new to rust, and not very good with C, so I'm not sure I'll be able to fix it. The problem must be around like 173 in booster.rs

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