You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the model for classification, a ValueError is raised due to a mismatch between the feature names used during the training phase (fit) and those passed during the inference phase (predict). The features passed at prediction time have inconsistent names compared to those seen during training.
Steps to Reproduce:
Load the trained RF_mining_model.pkl .
Attempt to make predictions using test data obtained from the original dataset's train-test split.
Observe the ValueError due to mismatched feature names.
Expected Behavior: The feature names should match and remain consistent throughout.
Proposed Solution: Training classifier model against the exact feature names as they appear in the dataset.
The text was updated successfully, but these errors were encountered:
While using the model for classification, a ValueError is raised due to a mismatch between the feature names used during the training phase (fit) and those passed during the inference phase (predict). The features passed at prediction time have inconsistent names compared to those seen during training.
Steps to Reproduce:
Expected Behavior: The feature names should match and remain consistent throughout.
Proposed Solution: Training classifier model against the exact feature names as they appear in the dataset.
The text was updated successfully, but these errors were encountered: