Skip to content

There was an error about 'model': str' object has no attribute 'predict_proba' #3

@xx927

Description

@xx927

Traceback (most recent call last):
File "", line 1, in
File "/phakinpro.py", line 112, in run_prediction
pred_proba = model.predict_proba(fp.reshape(1, -1))[:, 1]
^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'predict_proba'

What can I do? Thanks very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions