Skip to content

Improve API input format #1

@MLnick

Description

@MLnick

Currently the model can only take in a numpy array of weather data, in txt format, with a specific hard-coded shape (specifically the number of data rows in the input array)

As a user I would like:

  • to be able to post a single "data point" (in this case a data point would be a 12-hour timeframe of data) and receive a single prediction.
  • to post data in a more user-friendly format (i.e. JSON)

For bulk requests we could add a bulk predict endpoint. We could support CSV files rather than (or in addition to) numpy arrays in txt serialized format.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions