Skip to content

Check Treelite model to ensure num_tree >= 1 and num_outputs >= 1 #65

Description

@chyunsu3

Per NVIDIA/cuml#7727 (comment), we should validate the Treelite model at import time to ensure that:

  1. It has at least one decision tree; and
  2. It has at least one output.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions