Skip to content

argmax/argmin? #533

@soxofaan

Description

@soxofaan

In machine learning (classification) use cases, one typically need an operation like argmax or argmin. It's currently not very obvious/discoverable how to do that in pure openEO processes.

There are a couple of options however, e.g. for argmax:

  • based on order : first(order(array, asc=false))
  • based on array_find: array_find(array, value=max(array))

Possible options to improve the situation:

  • simple: just improve docs, e.g. from max and min docs: link to order/array_find how these can be used to emulate argmax/armgin
  • more work: add argmax/argmin processes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions