- Timestamp:
- 06/19/16 19:56:11 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationModel.cs
r12509 r13921 33 33 [Item(Name = "SymbolicClassificationModel", Description = "Represents a symbolic classification model.")] 34 34 public abstract class SymbolicClassificationModel : SymbolicDataAnalysisModel, ISymbolicClassificationModel { 35 [Storable] 36 private readonly string targetVariable; 37 public string TargetVariable { 38 get { return targetVariable; } 39 } 35 40 36 41 [StorableConstructor] 37 42 protected SymbolicClassificationModel(bool deserializing) : base(deserializing) { } 38 protected SymbolicClassificationModel(SymbolicClassificationModel original, Cloner cloner) : base(original, cloner) { } 43 44 protected SymbolicClassificationModel(SymbolicClassificationModel original, Cloner cloner) : base(original, cloner) { 45 targetVariable = original.targetVariable; 46 } 47 39 48 protected SymbolicClassificationModel(ISymbolicExpressionTree tree, ISymbolicDataAnalysisExpressionTreeInterpreter interpreter, 40 double lowerEstimationLimit = double.MinValue, double upperEstimationLimit = double.MaxValue) 41 : base(tree, interpreter, lowerEstimationLimit, upperEstimationLimit) { } 49 double lowerEstimationLimit = double.MinValue, double upperEstimationLimit = double.MaxValue, string targetVariable = "Target") 50 : base(tree, interpreter, lowerEstimationLimit, upperEstimationLimit) { 51 this.targetVariable = targetVariable; 52 } 42 53 43 54 public abstract IEnumerable<double> GetEstimatedClassValues(IDataset dataset, IEnumerable<int> rows);
Note: See TracChangeset
for help on using the changeset viewer.