Skip to content

RowGroupColumnName of ranking trainers options class defaults to null #3365

Description

@artidoro

The Options class of the ranking trainers (FastTree and LightGbm) defaults to RowGroupColumnName = null.

This is:

  1. Inconsistent with the simple constructor where RowGroupColumnName defaults to GroupId
  2. Not desirable as in ranking the row group is very important for correct training

Here are the lines where the row group column name is set:

/// <summary>
/// Column to use for example groupId.
/// </summary>
[Argument(ArgumentType.AtMostOnce, HelpText = "Column to use for example groupId", ShortName = "groupId", SortOrder = 5, Visibility = ArgumentAttribute.VisibilityType.EntryPointsOnly)]
public string RowGroupColumnName = null;

We need to update the default and align it with the simple constructor.

Activity

  1. artidoro commented on May 29, 2019

    @artidoro
    ContributorAuthor

    I am afraid that this will require a breaking API change which at this point we can't do. This would be something that we should consider changing for 2.0.

  2. removed their assignment
    on May 29, 2019
  3. justinormont commented on May 31, 2019

    @justinormont
    Contributor

    I would expect the ranking trainer to throw if it doesn't have a RowGroupColumnName defined.

    Hence, I don't see this as a breaking change, since without it the user's pipeline (even if it runs) is broken as the result won't have utility. This questions our definition of a breaking API change.

  4. najeeb-kazmi commented on Jan 31, 2020

    @najeeb-kazmi
    Member

    Tracking in #4749.

  5. ghost locked as resolved and limited conversation to collaborators on Mar 22, 2022
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions