Changeset 16842 for branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/LossFunctions
- Timestamp:
- 04/19/19 11:05:52 (6 years ago)
- Location:
- branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis
- Property svn:mergeinfo changed
-
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4
- Property svn:mergeinfo changed
-
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/LossFunctions/AbsoluteErrorLoss.cs
r16538 r16842 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * and the BEACON Center for the Study of Evolution in Action. 5 5 * … … 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Algorithms.DataAnalysis { 30 30 // loss function for the weighted absolute error 31 [Storable Class]31 [StorableType("C4429BDA-665F-48A2-B18F-EA1569083842")] 32 32 [Item("Absolute error loss", "")] 33 33 public sealed class AbsoluteErrorLoss : Item, ILossFunction { … … 83 83 #region item implementation 84 84 [StorableConstructor] 85 private AbsoluteErrorLoss( bool deserializing) : base(deserializing) { }85 private AbsoluteErrorLoss(StorableConstructorFlag _) : base(_) { } 86 86 87 87 private AbsoluteErrorLoss(AbsoluteErrorLoss original, Cloner cloner) : base(original, cloner) { } -
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/LossFunctions/ILossFunction.cs
r16538 r16842 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * and the BEACON Center for the Study of Evolution in Action. 5 5 * … … 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Core; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Algorithms.DataAnalysis { 28 [StorableType("588270d5-61ee-4906-b30f-841f64cd6724")] 27 29 // represents an interface for loss functions used by gradient boosting 28 30 // target represents the target vector (original targets from the problem data, never changed) -
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/LossFunctions/LogisticRegressionLoss.cs
r16538 r16842 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * and the BEACON Center for the Study of Evolution in Action. 5 5 * … … 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Algorithms.DataAnalysis { 31 31 // Greedy Function Approximation: A Gradient Boosting Machine (page 9) 32 [Storable Class]32 [StorableType("E91BD71E-9A1D-4352-BD68-062290F8BE9C")] 33 33 [Item("Logistic regression loss", "")] 34 34 public sealed class LogisticRegressionLoss : Item, ILossFunction { … … 90 90 #region item implementation 91 91 [StorableConstructor] 92 private LogisticRegressionLoss( bool deserializing) : base(deserializing) { }92 private LogisticRegressionLoss(StorableConstructorFlag _) : base(_) { } 93 93 94 94 private LogisticRegressionLoss(LogisticRegressionLoss original, Cloner cloner) : base(original, cloner) { } -
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/LossFunctions/QuantileRegressionLoss.cs
r16538 r16842 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * and the BEACON Center for the Study of Evolution in Action. 5 5 * … … 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Algorithms.DataAnalysis { 32 32 // loss function for quantile regression 33 33 // Generalized Boosted Models - A Guide To The gbm Package, Greg Ridgeway, August 2007, page 11 34 [Storable Class]34 [StorableType("B8EF6C18-C1A8-4B43-8FEA-A6900287ADDD")] 35 35 [Item("QuantileRegressionloss", "Loss function for quantile regression")] 36 36 public sealed class QuantileRegressionLoss : ParameterizedNamedItem, ILossFunction { … … 102 102 #region item implementation 103 103 [StorableConstructor] 104 private QuantileRegressionLoss( bool deserializing) : base(deserializing) { }104 private QuantileRegressionLoss(StorableConstructorFlag _) : base(_) { } 105 105 106 106 private QuantileRegressionLoss(QuantileRegressionLoss original, Cloner cloner) -
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/LossFunctions/RelativeErrorLoss.cs
r16538 r16842 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * and the BEACON Center for the Study of Evolution in Action. 5 5 * … … 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Algorithms.DataAnalysis { 30 30 // relative error loss is a special case of weighted absolute error loss with weights = (1/target) 31 [Storable Class]31 [StorableType("1334143A-7F77-46C1-8080-0CC4F4DA8995")] 32 32 [Item("Relative error loss", "")] 33 33 public sealed class RelativeErrorLoss : Item, ILossFunction { … … 111 111 #region item implementation 112 112 [StorableConstructor] 113 private RelativeErrorLoss( bool deserializing) : base(deserializing) { }113 private RelativeErrorLoss(StorableConstructorFlag _) : base(_) { } 114 114 115 115 private RelativeErrorLoss(RelativeErrorLoss original, Cloner cloner) : base(original, cloner) { } -
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/LossFunctions/SquaredErrorLoss.cs
r16538 r16842 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * and the BEACON Center for the Study of Evolution in Action. 5 5 * … … 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Algorithms.DataAnalysis { 30 [Storable Class]30 [StorableType("5D02E552-B96E-4267-858B-22339D8CB6B2")] 31 31 [Item("Squared error loss", "")] 32 32 public sealed class SquaredErrorLoss : Item, ILossFunction { … … 78 78 #region item implementation 79 79 [StorableConstructor] 80 private SquaredErrorLoss( bool deserializing) : base(deserializing) { }80 private SquaredErrorLoss(StorableConstructorFlag _) : base(_) { } 81 81 82 82 private SquaredErrorLoss(SquaredErrorLoss original, Cloner cloner) : base(original, cloner) { }
Note: See TracChangeset
for help on using the changeset viewer.