8000 can't predict using test data · Issue #24 · minimaxir/automl-gs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
can't predict using test data #24
Open
@GriffinRidgeback

Description

@GriffinRidgeback

Hello - I have successfully trained my model using my training dataset. Now, when I go to predict, using this command:

python model.py -d ../testing_imputed.csv -m predict

I get this error:

ValueError: Usecols do not match columns, columns expected but not found: ['accepted']

but this is the column I'm trying to predict! Am I supposed to create the target/prediction column in the test data and it will be populated with the predictions? This is a logistic regression problem, where I am trying to predict whether or not a loan will be approved. If I need to add a column, is it:

test_data'['accepted'] = ""

Or do I zero it out and the prediction will update the value with what the model should predict?

Thanks in advance to all who respond.

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

      0