Keras 3 API documentation / KerasTuner / Tuners / Objective class

Objective class

[source]

Objective class

keras_tuner.Objective(name, direction)

The objective for optimization during tuning.

Arguments

  • name: String. The name of the objective.
  • direction: String. The value should be "min" or "max" indicating whether the objective value should be minimized or maximized.