Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Serilization of np integers and floats #304

Copy link
Copy link
@janvanrijn

Description

@janvanrijn
Issue body actions

Seems like the sklearn to flow serialization does not like it when a np.int64 is passed through:

  File "/home/vanrijn/projects/openml-python/openml/flows/sklearn_converter.py", line 81, in sklearn_to_flow
    raise TypeError(o, type(o))
TypeError: (2, <class 'numpy.int64'>)

Apparently, that case is not caught by
elif isinstance(o, (bool, int, float, six.string_types)) or o is None:

Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.