Changeset 17393


Ignore:
Timestamp:
01/03/20 18:59:45 (3 weeks ago)
Author:
gkronber
Message:

#2974: fix typos in comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2974_Constants_Optimization/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/ConstantsOptimization/LMConstantsOptimizer.cs

    r16689 r17393  
    4747    /// <param name="rows">The rows for which the data should be extracted.</param>
    4848    /// <param name="applyLinearScaling">A flag to determine whether linear scaling should be applied during the optimization</param>
    49     /// <param name="maxIterations">The maximum number of iterations of the Levenberg-Marquard algorithm.</param>
     49    /// <param name="maxIterations">The maximum number of iterations of the Levenberg-Marquardt algorithm.</param>
    5050    /// <returns></returns>
    5151    public static double OptimizeConstants(ISymbolicExpressionTree tree,
     
    6363        throw new NotSupportedException("Could not convert symbolic expression tree to an AutoDiff term due to not supported symbols used in the tree.");
    6464
    65       //Variables of the symbolic expression tree correspond to parameters in the term
    66       //Hence if no parameters are present we can't do anything and R² stays the same.
     65      // Variables of the symbolic expression tree correspond to parameters in the term.
     66      // Hence if no parameters are present we can't do anything and R² stays the same.
    6767      if (term.Parameters.Count == 0) return 0.0;
    6868
     
    8080
    8181    /// <summary>
    82     /// Optimizes the numeric coefficents of an AutoDiff Term using the Levenberg-Marquard algorithm.
     82    /// Optimizes the numeric coefficents of an AutoDiff Term using the Levenberg-Marquardt algorithm.
    8383    /// </summary>
    8484    /// <param name="term">The AutoDiff term for which the numeric coefficients should be optimized.</param>
     
    8686    /// <param name="x">The input data for the optimization.</param>
    8787    /// <param name="y">The target values for the optimization.</param>
    88     /// <param name="maxIterations">The maximum number of iterations of the Levenberg-Marquard</param>
    89     /// <param name="constants">The opitmized constants.</param>
     88    /// <param name="maxIterations">The maximum number of iterations of the Levenberg-Marquardt</param>
     89    /// <param name="constants">The optimized constants.</param>
    9090    /// <param name="LM_IterationCallback">An optional callback for detailed analysis that is called in each algorithm iteration.</param>
    9191    /// <returns>The R² of the term evaluated on the input data x and the target data y using the optimized constants</returns>
Note: See TracChangeset for help on using the changeset viewer.