• 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

Class GradientDescent

Gradient descent algorithm class.

Inheritance
System.Object
GradientDescent
Namespace: Paramdigma.Core.Optimization
Assembly: Paramdigma.Core.dll
Syntax
public class GradientDescent : object

Constructors

| Improve this Doc View Source

GradientDescent(GradientDescentOptions)

Initializes a new instance of the GradientDescent class with given options.

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

Settings to apply to this GD instance.

Fields

| Improve this Doc View Source

Options

Contains all the options of the current minimization.

Declaration
public GradientDescentOptions Options
Field Value
Type Description
GradientDescentOptions
| Improve this Doc View Source

Result

Contains the result of the current minimization.

Declaration
public GradientDescentResult Result
Field Value
Type Description
GradientDescentResult

Methods

| Improve this Doc View Source

Minimize(GradientDescent.FitnessFunction, List<Double>)

Run gradient descent algorithm.

Declaration
public void Minimize(GradientDescent.FitnessFunction function, List<double> inputValues)
Parameters
Type Name Description
GradientDescent.FitnessFunction function

Delegate function to compute the fitness.

List<System.Double> inputValues

Input values to compute the fitness from.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX