Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/18/16 16:21:24 (8 years ago)
Author:
pfleck
Message:

#2597:

  • Renamed IConfidenceBoundRegressionModel/Solution+Views to IConfidenceRegressionModel/Solution+Views.
  • Moved IConfidenceRegressionModel and IConfidenceRegressionSolution into own files.
  • Moved some (helper) controls into separate sub folder.
  • Fixed typo.
Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj

    r14095 r14099  
    176176    <Compile Include="Interfaces\ITransformation.cs" />
    177177    <Compile Include="Interfaces\ITransformationMapper.cs" />
     178    <Compile Include="Interfaces\Regression\IConfidenceRegressionModel.cs" />
     179    <Compile Include="Interfaces\Regression\IConfidenceRegressionSolution.cs" />
    178180    <Compile Include="Interfaces\Regression\IRegressionEnsembleModel.cs">
    179181      <SubType>Code</SubType>
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ConfidenceBoundRegressionSolution.cs

    r14095 r14099  
    3030  /// </summary>
    3131  [StorableClass]
    32   public class ConfidenceBoundRegressionSolution : RegressionSolution, IConfidenceBoundRegressionSolution {
     32  public class ConfidenceRegressionSolution : RegressionSolution, IConfidenceRegressionSolution {
    3333    protected readonly Dictionary<int, double> varianceEvaluationCache;
    3434
    35     public new IConfidenceBoundRegressionModel Model {
    36       get { return (IConfidenceBoundRegressionModel)base.Model; }
     35    public new IConfidenceRegressionModel Model {
     36      get { return (IConfidenceRegressionModel)base.Model; }
    3737      set { base.Model = value; }
    3838    }
    3939
    4040    [StorableConstructor]
    41     protected ConfidenceBoundRegressionSolution(bool deserializing)
     41    protected ConfidenceRegressionSolution(bool deserializing)
    4242      : base(deserializing) {
    4343      varianceEvaluationCache = new Dictionary<int, double>();
    4444    }
    45     protected ConfidenceBoundRegressionSolution(ConfidenceBoundRegressionSolution original, Cloner cloner)
     45    protected ConfidenceRegressionSolution(ConfidenceRegressionSolution original, Cloner cloner)
    4646      : base(original, cloner) {
    4747      varianceEvaluationCache = new Dictionary<int, double>(original.varianceEvaluationCache);
    4848    }
    49     public ConfidenceBoundRegressionSolution(IConfidenceBoundRegressionModel model, IRegressionProblemData problemData)
     49    public ConfidenceRegressionSolution(IConfidenceRegressionModel model, IRegressionProblemData problemData)
    5050      : base(model, problemData) {
    5151      varianceEvaluationCache = new Dictionary<int, double>(problemData.Dataset.Rows);
     
    5353
    5454    public override IDeepCloneable Clone(Cloner cloner) {
    55       return new ConfidenceBoundRegressionSolution(this, cloner);
     55      return new ConfidenceRegressionSolution(this, cloner);
    5656    }
    5757
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionModel.cs

    r14095 r14099  
    2121
    2222using System.Collections.Generic;
     23
    2324namespace HeuristicLab.Problems.DataAnalysis {
    2425  public interface IRegressionModel : IDataAnalysisModel {
     
    2728    string TargetVariable { get; }
    2829  }
    29 
    30   public interface IConfidenceBoundRegressionModel : IRegressionModel {
    31     IEnumerable<double> GetEstimatedVariances(IDataset dataset, IEnumerable<int> rows);
    32   }
    3330}
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionSolution.cs

    r14095 r14099  
    4444    double TestRootMeanSquaredError { get; }
    4545  }
    46 
    47   public interface IConfidenceBoundRegressionSolution : IRegressionSolution {
    48     new IConfidenceBoundRegressionModel Model { get; }
    49 
    50     IEnumerable<double> EstimatedVariances { get; }
    51     IEnumerable<double> EstimatedTrainingVariances { get; }
    52     IEnumerable<double> EstimatedTestVariances { get; }
    53     IEnumerable<double> GetEstimatedVariances(IEnumerable<int> rows);
    54   }
    5546}
Note: See TracChangeset for help on using the changeset viewer.