Class OptimizationStrategy (1.26.1)

OptimizationStrategy(value)

Indicates the optimization strategy used for training.

Attributes

Name Description
BATCH_GRADIENT_DESCENT int
Uses an iterative batch gradient descent algorithm.
NORMAL_EQUATION int
Uses a normal equation to solve linear regression problem.

Inheritance

builtins.object > builtins.int > builtins.object > enum.Enum > enum.IntEnum > OptimizationStrategy

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.