Skip to content

[Bug]: Error when creating a model: TypeError: ufunc 'isnan' not supported for the input types #49

@chandrevdw31

Description

@chandrevdw31

Short description of current behavior

User receives an error when creating a model.

Create model syntax:
CREATE MODEL mindsdb.predictor_sc FROM POC (SELECT * FROM my_table) PREDICT SR ORDER BY TIME GROUP BY type, SC WINDOW 62 HORIZON 5;

Error: TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'', raised at: /home/ubuntu/mindsdb/lib/python3.10/site-packages/mindsdb/integrations/libs/learn_process.py#186

Slack thread: https://mindsdbcommunity.slack.com/archives/C01S2T35H18/p1704269012061049

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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