DEV Community

Super Kai (Kazuya Ito)
Super Kai (Kazuya Ito)

Posted on • Edited on

1

Global or Local Minima and Maxima and Saddle Points in Deep Learning

Buy Me a Coffee

<Global and Local Minima>

  • A global minimum is the globally minimal point whose gradient is zero but not a local minimum.

  • A local minimum is the locally minimal point whose gradient is zero but not a global minimum.

Image description

*Memos:

  • I used math3d.
  • The left formula is 10x/e^(x^2+y^2)(-x)^e. *x∈ is [-3, 3] and y∈ is [-3, 3].
  • The right formula is -4x/e^(x^2+y^2)(x)^e. *x∈ is [-3, 3] and y∈ is [-3, 3].

<Global and Local Maxima>

  • A global maximum is the globally maximal point whose gradient is zero but not a local maximum.

  • A local maximum is the locally maximal point whose gradient is zero but not a global maximum.

Image description

*Memos:

  • I used math3d.
  • The left formula is -10x/e^(x^2+y^2)(-x)^e. *x∈ is [-3, 3] and y∈ is [-3, 3].
  • The right formula is 4x/e^(x^2+y^2)(x)^e. *x∈ is [-3, 3] and y∈ is [-3, 3].

<Saddle Points>

A saddle point is the combination point of a local minimum and maximum.

Image description

Image description

*Memos:

  • I used math3d.
  • The formula is x^2-y^2. *x∈ is [-4, 4] and y∈ is [-4, 4].

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post