• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Paramdigma.Core
    • Convert
    • Intersect3D
    • Intersect3D.LineLineIntersectionResult
    • Intersect3D.LineLineIntersectionStatus
    • Intersect3D.LinePlaneIntersectionStatus
    • Intersect3D.RayFacePerimeterIntersectionStatus
    • Settings
  • Paramdigma.Core.Collections
    • Interval
    • Matrix<T>
  • Paramdigma.Core.Curves
    • Geodesics
    • LevelSets
  • Paramdigma.Core.Exceptions
    • UnsetGeometryException
  • Paramdigma.Core.Extensions
    • Lists
  • Paramdigma.Core.Geometry
    • BaseCurve
    • BasePoint
    • Box
    • Circle
    • Cylinder
    • Delaunay
    • InvalidCurveException
    • Line
    • Line2d
    • Mesh
    • MeshCorner
    • MeshEdge
    • MeshFace
    • MeshGeometry
    • MeshHalfEdge
    • MeshPoint
    • MeshTopology
    • MeshVertex
    • NurbsCurve
    • NurbsSurface
    • Plane
    • Point2d
    • Point3d
    • Point4d
    • Polyline
    • Polyline2d
    • Ray
    • Ray2d
    • Rectangle2d
    • Sphere
    • Torus
    • Vector2d
    • Vector3d
    • VectorNd
  • Paramdigma.Core.Geometry.Interfaces
    • ICurve
    • ISurface
    • IVector
  • Paramdigma.Core.IO
    • CsvReader
    • CsvWritter
    • OBJMeshData
    • ObjReader
    • ObjWritter
    • OffMeshData
    • OffReader
    • OffResult
    • OffWriter
  • Paramdigma.Core.LinearAlgebra
    • Complex
    • LeastSquaresLinearFit
    • Triplet
    • TripletData
  • Paramdigma.Core.Optimization
    • GradientDescent
    • GradientDescent.FitnessFunction
    • GradientDescentOptions
    • GradientDescentResult
    • KMeansCluster
    • KMeansClustering
    • KMeansClustering.IterationCompletedEventArgs
  • Paramdigma.Core.Spatial
    • DelaunayEdge
    • DelaunayPoint
    • DelaunayTriangle
    • Octree
    • PointCloud
    • PointCloudMember
    • QuadTree

Struct GradientDescentOptions

Contains the different options of a Gradient Descent minimization.

Namespace: Paramdigma.Core.Optimization
Assembly: Paramdigma.Core.dll
Syntax
public struct GradientDescentOptions

Constructors

| Improve this Doc View Source

GradientDescentOptions(GradientDescentOptions)

Initializes a new instance of the GradientDescentOptions struct given an existing one.

Declaration
public GradientDescentOptions(GradientDescentOptions options)
Parameters
Type Name Description
GradientDescentOptions options

Options to duplicate.

| Improve this Doc View Source

GradientDescentOptions(Double, Int32, Double, Double, Double)

Initializes a new instance of the GradientDescentOptions struct given all it's values individually.

Declaration
public GradientDescentOptions(double threshold, int maxIterations, double derivativeStep, double learningRate, double errorThreshold)
Parameters
Type Name Description
System.Double threshold
System.Int32 maxIterations
System.Double derivativeStep
System.Double learningRate
System.Double errorThreshold

Fields

| Improve this Doc View Source

DerivativeStep

Step size to compute partial derivatives.

Declaration
public double DerivativeStep
Field Value
Type Description
System.Double
| Improve this Doc View Source

ErrorThreshold

Minimum error to consider the results acceptable.

Declaration
public double ErrorThreshold
Field Value
Type Description
System.Double
| Improve this Doc View Source

LearningRate

Scaling factor for the gradient. Effectively speeds up or down the minimization.

Declaration
public double LearningRate
Field Value
Type Description
System.Double
| Improve this Doc View Source

Limit

Threshold to stop minimization.

Declaration
public double Limit
Field Value
Type Description
System.Double
| Improve this Doc View Source

MaxIterations

Maximum iterations for the gradient descent.

Declaration
public int MaxIterations
Field Value
Type Description
System.Int32

Properties

| Improve this Doc View Source

Default

Gets a GradientDescentOptions instance with the default values.

Declaration
public static GradientDescentOptions Default { get; }
Property Value
Type Description
GradientDescentOptions
| Improve this Doc View Source

DefaultSmall

Gets a GradientDescentOptions instance with small values.

Declaration
public static GradientDescentOptions DefaultSmall { get; }
Property Value
Type Description
GradientDescentOptions
  • Improve this Doc
  • View Source
Back to top Generated by DocFX