Skip to content

FastTree EarlyStoppingMetric is an int but only accepts specific values #2521

Closed
@rogancarr

Description

@rogancarr

In the current Options for FastTree (and GAMs), EarlyStoppingMetric is an int, but only specific values are accepted (e.g. 1 or 2 for regression, 1 or 3 for ranking).

It would be much cleaner if this was an enum.

Metadata

Metadata

Assignees

Labels

APIIssues pertaining the friendly API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions