requires_y_train#

requires_y_train()[source]#

Behaviour flag: metric requires y_train in evaluate.

  • String name: "requires-y-train"

  • Public behaviour flag

  • Values: boolean, True / False

  • Example: True

  • Default: False

  • Alias: "requires_y_train"

This tag applies to metrics.

If the tag is True, the metric requires the training target data argument y_train to be passed in the evaluate and evaluate_by_index methods. If the tag is False, the metric does not require the training target data argument y_train to be passed in the evaluate and evaluate_by_index methods.