Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/06/15 15:20:28 (9 years ago)
Author:
gkronber
Message:

#2261: also use line search function for the initial estimation f0, changed logistic regression loss function to match description in GBM paper, comments and code improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GBT-trunkintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/LossFunctions/ILossFunction.cs

    r12590 r12607  
    2424
    2525namespace HeuristicLab.Algorithms.DataAnalysis {
     26  // returns the optimal value for the partition of rows stored in idx[startIdx] .. idx[endIdx] inclusive
    2627  public delegate double LineSearchFunc(int[] idx, int startIdx, int endIdx);
    2728
     29  // represents an interface for loss functions used by gradient boosting
     30  // target represents the target vector  (original targets from the problem data, never changed)
     31  // pred   represents the current vector of predictions (a weighted combination of models learned so far, this vector is updated after each step)
     32  // weight represents a weight vector for rows (this is not supported yet -> all weights are 1)
    2833  public interface ILossFunction {
    29     // returns the weighted loss
     34    // returns the weighted loss of the current prediction vector
    3035    double GetLoss(IEnumerable<double> target, IEnumerable<double> pred, IEnumerable<double> weight);
    3136
     
    3742  }
    3843}
     44
     45
Note: See TracChangeset for help on using the changeset viewer.