Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Support combining batched prediction results on DatasetType #290

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

terryyylim
Copy link
Contributor

Context

A bug was introduced in #221, where approach to combining prediction results incorrectly assumed type to be numpy array. This PR utilizes DatasetAnalyzer to first determine the type of the results prior to combining them, since the same model can output different data types.

Modifications

  • mlem/api/commands.py - Interpret data type prior to combining prediction results
  • mlem/contrib/numpy.py - Add support for combining batch reading prediction results for nd.array

Which issue(s) this PR fixes:
Fixes #257

@terryyylim terryyylim requested a review from a team June 8, 2022 16:03
@aguschin aguschin temporarily deployed to external June 29, 2022 12:46 Inactive
@aguschin
Copy link
Contributor

I've updated the branch, now auth issues are gone. But there are some others I didn't investigate. @terryyylim do you mind taking a look?

@aguschin aguschin added the bugfix Fixing bugs (for PRs mostly) label Nov 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bugfix Fixing bugs (for PRs mostly)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add numpy or refactor this
2 participants