Skip to content

DataSet with no datapoints crash #58

Closed

Description

@g-bauer

Currently, the unit of the predicted property is "inferred" by taking the unit of the 0'th element of the target vector. This panics if the vector is empty. See here.

In predict, instead of allocating an array and iterating over the index, we can use iter().map().collect().

Activity

  1. added this to the v0.4.0 milestone on Dec 29, 2022
  2. modified the milestones: v0.4.0, v0.5.0 on Jan 27, 2023
  3. modified the milestones: v0.5.0, v0.4.0 on Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions