Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/08/18 16:07:49 (6 years ago)
Author:
fholzing
Message:

#2883: Changed formatting to adhere to the coding guidelines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2883_GBTModelStorage/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/GradientBoostedTreesModelSurrogate.cs

    r15679 r16220  
    3939    // the actual model is only recalculated when necessary
    4040    private readonly Lazy<IGradientBoostedTreesModel> actualModel;
    41     private IGradientBoostedTreesModel ActualModel
    42     {
     41    private IGradientBoostedTreesModel ActualModel {
    4342      get { return actualModel.Value; }
    4443    }
     
    6261
    6362
    64     public override IEnumerable<string> VariablesUsedForPrediction
    65     {
    66       get
    67       {
     63    public override IEnumerable<string> VariablesUsedForPrediction {
     64      get {
    6865        return ActualModel.Models.SelectMany(x => x.VariablesUsedForPrediction).Distinct().OrderBy(x => x);
    6966      }
     
    137134    }
    138135
    139     public IEnumerable<IRegressionModel> Models
    140     {
    141       get
    142       {
     136    public IEnumerable<IRegressionModel> Models {
     137      get {
    143138        return ActualModel.Models;
    144139      }
    145140    }
    146141
    147     public IEnumerable<double> Weights
    148     {
    149       get
    150       {
     142    public IEnumerable<double> Weights {
     143      get {
    151144        return ActualModel.Weights;
    152145      }
Note: See TracChangeset for help on using the changeset viewer.