- Timestamp:
- 07/05/19 11:14:32 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.DataAnalysis.DecisionTrees/3.4/Splitting/Splitter.cs
r17080 r17081 31 31 [StorableType("502B1429-7A28-45C1-A60A-93E72CB3AF4A")] 32 32 [Item("Splitter", "A split selector that uses the ratio between Variances^(1/Order) to determine good splits.")] 33 public sealed class M5Splitter : SplitterBase {33 public sealed class Splitter : SplitterBase { 34 34 public const string OrderParameterName = "Order"; 35 35 public IFixedValueParameter<DoubleValue> OrderParameter { … … 43 43 #region Constructors & Cloning 44 44 [StorableConstructor] 45 private M5Splitter(StorableConstructorFlag _) { }46 private M5Splitter(M5Splitter original, Cloner cloner) : base(original, cloner) { }47 public M5Splitter() {45 private Splitter(StorableConstructorFlag _) { } 46 private Splitter(Splitter original, Cloner cloner) : base(original, cloner) { } 47 public Splitter() { 48 48 Parameters.Add(new FixedValueParameter<DoubleValue>(OrderParameterName, "The exponent in the split calculation sum (x_i - x_avg)^Order (default=5).", new DoubleValue(5))); 49 49 } 50 50 public override IDeepCloneable Clone(Cloner cloner) { 51 return new M5Splitter(this, cloner);51 return new Splitter(this, cloner); 52 52 } 53 53 #endregion
Note: See TracChangeset
for help on using the changeset viewer.