- Timestamp:
- 07/05/19 11:14:32 (5 years ago)
- Location:
- trunk/HeuristicLab.Algorithms.DataAnalysis.DecisionTrees/3.4/MetaModels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.DataAnalysis.DecisionTrees/3.4/MetaModels/RegressionNodeTreeModel.cs
r17080 r17081 32 32 namespace HeuristicLab.Algorithms.DataAnalysis { 33 33 [StorableType("FAF1F955-82F3-4824-9759-9D2846E831AE")] 34 public class RegressionNodeTreeModel : RegressionModel, I M5Model {34 public class RegressionNodeTreeModel : RegressionModel, IDecisionTreeModel { 35 35 public const string NumCurrentLeafsResultName = "Number of current leafs"; 36 36 public const string RootVariableName = "Root"; … … 69 69 #endregion 70 70 71 #region I M5Model71 #region IDecisionTreeModel 72 72 public void Build(IReadOnlyList<int> trainingRows, IReadOnlyList<int> pruningRows, IScope statescope, ResultCollection results, CancellationToken cancellationToken) { 73 73 var regressionTreeParams = (RegressionTreeParameters)statescope.Variables[DecisionTreeRegression.RegressionTreeParameterVariableName].Value; -
trunk/HeuristicLab.Algorithms.DataAnalysis.DecisionTrees/3.4/MetaModels/RegressionRuleModel.cs
r17080 r17081 33 33 namespace HeuristicLab.Algorithms.DataAnalysis { 34 34 [StorableType("425AF262-A756-4E9A-B76F-4D2480BEA4FD")] 35 public class RegressionRuleModel : RegressionModel, I M5Model {35 public class RegressionRuleModel : RegressionModel, IDecisionTreeModel { 36 36 #region Properties 37 37 [Storable] -
trunk/HeuristicLab.Algorithms.DataAnalysis.DecisionTrees/3.4/MetaModels/RegressionRuleSetModel.cs
r17080 r17081 33 33 namespace HeuristicLab.Algorithms.DataAnalysis { 34 34 [StorableType("7B4D9AE9-0456-4029-80A6-CCB5E33CE356")] 35 public class RegressionRuleSetModel : RegressionModel, I M5Model {35 public class RegressionRuleSetModel : RegressionModel, IDecisionTreeModel { 36 36 private const string NumRulesResultName = "Number of rules"; 37 37 private const string CoveredInstancesResultName = "Covered instances"; … … 75 75 #endregion 76 76 77 #region I M5Model77 #region IDecisionTreeModel 78 78 public void Build(IReadOnlyList<int> trainingRows, IReadOnlyList<int> pruningRows, IScope stateScope, ResultCollection results, CancellationToken cancellationToken) { 79 79 var regressionTreeParams = (RegressionTreeParameters)stateScope.Variables[DecisionTreeRegression.RegressionTreeParameterVariableName].Value;
Note: See TracChangeset
for help on using the changeset viewer.