Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/11 18:11:23 (13 years ago)
Author:
gkronber
Message:

#1418 renamed interface for interpreter, worked on solutions and models and implemented SVM regression.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionSolution.cs

    r5607 r5624  
    3232using System;
    3333
    34 namespace HeuristicLab.Problems.DataAnalysis.Symbolic {
     34namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression {
    3535  /// <summary>
    3636  /// Represents a symbolic regression solution (model + data) and attributes of the solution like accuracy and complexity
     
    3838  [StorableClass]
    3939  [Item(Name = "SymbolicRegressionSolution", Description = "Represents a symbolic regression solution (model + data) and attributes of the solution like accuracy and complexity.")]
    40   public class SymbolicRegressionSolution : SymbolicDataAnalysisSolution, IRegressionSolution {
    41     #region properties
    42     public new IRegressionModel Model {
    43       get { throw new NotImplementedException(); }
     40  public class SymbolicRegressionSolution : RegressionSolution, ISymbolicRegressionSolution {
     41    #region ISymbolicRegressionSolution Members
     42
     43    public new ISymbolicRegressionModel Model {
     44      get { return (ISymbolicRegressionModel)base.Model; }
    4445    }
    45 
    46     public new IRegressionProblemData ProblemData {
    47       get { throw new NotImplementedException(); }
    48     }
    49 
    50     public IEnumerable<double> EstimatedValues {
    51       get { throw new NotImplementedException(); }
    52     }
    53 
    54     public IEnumerable<double> EstimatedTrainingValues {
    55       get { throw new NotImplementedException(); }
    56     }
    57 
    58     public IEnumerable<double> EstimatedTestValues {
    59       get { throw new NotImplementedException(); }
    60     }
    61 
    62     public IEnumerable<double> GetEstimatedValues(IEnumerable<int> rows) {
    63       throw new NotImplementedException();
     46    ISymbolicDataAnalysisModel ISymbolicDataAnalysisSolution.Model {
     47      get { return (ISymbolicDataAnalysisModel)base.Model; }
    6448    }
    6549
     
    7155      : base(original, cloner) {
    7256    }
    73     public SymbolicRegressionSolution()
    74       : base() {
     57    public SymbolicRegressionSolution(ISymbolicRegressionModel model, IRegressionProblemData problemData)
     58      : base(model, problemData) {
    7559    }
    7660
     
    7862      return new SymbolicRegressionSolution(this, cloner);
    7963    }
    80 
    81     protected override void OnModelChanged(EventArgs e) {
    82       base.OnModelChanged(e);
    83     }
    84 
    85     protected override void OnProblemDataChanged(EventArgs e) {
    86       base.OnProblemDataChanged(e);
    87     }
    8864  }
    8965}
Note: See TracChangeset for help on using the changeset viewer.