Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

app.py AttributeError #6

@lhy0807

Description

@lhy0807

Hi!
Your project is amazing! I am very interested in your project and want to try it or even improve it. I am facing problems when I run app.py. It keep telling me that AttributeError: 'KNeighborsClassifier' object has no attribute 'n_jobs' or DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and will raise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample. DeprecationWarning)

Is this because we are using the different versions of sklearn libraries?

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