Changeset 14099 for trunk/sources
- Timestamp:
- 07/18/16 16:21:24 (8 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 added
- 8 edited
- 14 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessRegressionSolution.cs
r14095 r14099 31 31 [Item("GaussianProcessRegressionSolution", "Represents a Gaussian process solution for a regression problem which can be visualized in the GUI.")] 32 32 [StorableClass] 33 public sealed class GaussianProcessRegressionSolution : Confidence BoundRegressionSolution, IGaussianProcessSolution {33 public sealed class GaussianProcessRegressionSolution : ConfidenceRegressionSolution, IGaussianProcessSolution { 34 34 35 35 public new IGaussianProcessModel Model { -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Interfaces/IGaussianProcessModel.cs
r14095 r14099 26 26 /// Interface to represent a Gaussian process posterior 27 27 /// </summary> 28 public interface IGaussianProcessModel : IConfidence BoundRegressionModel {28 public interface IGaussianProcessModel : IConfidenceRegressionModel { 29 29 double NegativeLogLikelihood { get; } 30 30 double SigmaNoise { get; } -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Interfaces/IGaussianProcessSolution.cs
r14095 r14099 26 26 /// Interface to represent a Gaussian process solution (either regression or classification) 27 27 /// </summary> 28 public interface IGaussianProcessSolution : IConfidence BoundRegressionSolution {28 public interface IGaussianProcessSolution : IConfidenceRegressionSolution { 29 29 new IGaussianProcessModel Model { get; } 30 30 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/DensityTrackbar.cs
r14095 r14099 128 128 LimitsChanged(this, EventArgs.Empty); 129 129 } 130 #region Hepers131 130 131 #region Helpers 132 132 private decimal TickToValue(int tick) { 133 133 return TickToValue(tick, trackBar.Maximum - trackBar.Minimum, (decimal)Limits.Lower, (decimal)Limits.Upper); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/GradientChart.cs
r14095 r14099 387 387 series.LegendText = series.Name; 388 388 389 var confidenceBoundSolution = solution as IConfidence BoundRegressionSolution;389 var confidenceBoundSolution = solution as IConfidenceRegressionSolution; 390 390 Series confidenceIntervalSeries = null; 391 391 if (confidenceBoundSolution != null) { … … 454 454 } 455 455 456 var confidenceBoundSolution = solution as IConfidence BoundRegressionSolution;456 var confidenceBoundSolution = solution as IConfidenceRegressionSolution; 457 457 if (confidenceBoundSolution != null) { 458 458 var confidenceIntervalSeries = ciSeriesCache[solution]; -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj
r14095 r14099 120 120 </ItemGroup> 121 121 <ItemGroup> 122 <Compile Include=" DensityChart.cs">123 <SubType>UserControl</SubType> 124 </Compile> 125 <Compile Include=" DensityChart.Designer.cs">122 <Compile Include="Controls\DensityChart.cs"> 123 <SubType>UserControl</SubType> 124 </Compile> 125 <Compile Include="Controls\DensityChart.Designer.cs"> 126 126 <DependentUpon>DensityChart.cs</DependentUpon> 127 127 </Compile> 128 <Compile Include=" DensityTrackbar.cs">129 <SubType>UserControl</SubType> 130 </Compile> 131 <Compile Include=" DensityTrackbar.Designer.cs">128 <Compile Include="Controls\DensityTrackbar.cs"> 129 <SubType>UserControl</SubType> 130 </Compile> 131 <Compile Include="Controls\DensityTrackbar.Designer.cs"> 132 132 <DependentUpon>DensityTrackbar.cs</DependentUpon> 133 133 </Compile> … … 195 195 <DependentUpon>FeatureCorrelationView.cs</DependentUpon> 196 196 </Compile> 197 <Compile Include=" GradientChart.cs">198 <SubType>UserControl</SubType> 199 </Compile> 200 <Compile Include=" GradientChart.Designer.cs">197 <Compile Include="Controls\GradientChart.cs"> 198 <SubType>UserControl</SubType> 199 </Compile> 200 <Compile Include="Controls\GradientChart.Designer.cs"> 201 201 <DependentUpon>GradientChart.cs</DependentUpon> 202 202 </Compile> 203 <Compile Include=" GradientChartConfigurationDialog.cs">203 <Compile Include="Controls\GradientChartConfigurationDialog.cs"> 204 204 <SubType>Form</SubType> 205 205 </Compile> 206 <Compile Include=" GradientChartConfigurationDialog.Designer.cs">206 <Compile Include="Controls\GradientChartConfigurationDialog.Designer.cs"> 207 207 <DependentUpon>GradientChartConfigurationDialog.cs</DependentUpon> 208 208 </Compile> … … 222 222 <DependentUpon>ProblemDataView.cs</DependentUpon> 223 223 </Compile> 224 <Compile Include="Regression\Confidence BoundRegressionSolutionEstimatedValuesView.cs">225 <SubType>UserControl</SubType> 226 </Compile> 227 <Compile Include="Regression\Confidence BoundRegressionSolutionEstimatedValuesView.Designer.cs">228 <DependentUpon>Confidence BoundRegressionSolutionEstimatedValuesView.cs</DependentUpon>229 </Compile> 230 <Compile Include="Regression\Confidence BoundRegressionSolutionLineChartView.cs">231 <SubType>UserControl</SubType> 232 </Compile> 233 <Compile Include="Regression\Confidence BoundRegressionSolutionLineChartView.Designer.cs">234 <DependentUpon>Confidence BoundRegressionSolutionLineChartView.cs</DependentUpon>224 <Compile Include="Regression\ConfidenceRegressionSolutionEstimatedValuesView.cs"> 225 <SubType>UserControl</SubType> 226 </Compile> 227 <Compile Include="Regression\ConfidenceRegressionSolutionEstimatedValuesView.Designer.cs"> 228 <DependentUpon>ConfidenceRegressionSolutionEstimatedValuesView.cs</DependentUpon> 229 </Compile> 230 <Compile Include="Regression\ConfidenceRegressionSolutionLineChartView.cs"> 231 <SubType>UserControl</SubType> 232 </Compile> 233 <Compile Include="Regression\ConfidenceRegressionSolutionLineChartView.Designer.cs"> 234 <DependentUpon>ConfidenceRegressionSolutionLineChartView.cs</DependentUpon> 235 235 </Compile> 236 236 <Compile Include="Regression\RegressionEnsembleSolutionModelWeightsView.cs"> … … 366 366 <DependentUpon>DataAnalysisSolutionView.cs</DependentUpon> 367 367 </Compile> 368 <Compile Include=" DoubleLimitView.cs">369 <SubType>UserControl</SubType> 370 </Compile> 371 <Compile Include=" DoubleLimitView.Designer.cs">368 <Compile Include="Controls\DoubleLimitView.cs"> 369 <SubType>UserControl</SubType> 370 </Compile> 371 <Compile Include="Controls\DoubleLimitView.Designer.cs"> 372 372 <DependentUpon>DoubleLimitView.cs</DependentUpon> 373 373 </Compile> -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/ConfidenceRegressionSolutionEstimatedValuesView.Designer.cs
r14095 r14099 20 20 #endregion 21 21 namespace HeuristicLab.Algorithms.DataAnalysis.Views { 22 partial class Confidence BoundRegressionSolutionEstimatedValuesView {22 partial class ConfidenceRegressionSolutionEstimatedValuesView { 23 23 /// <summary> 24 24 /// Required designer variable. -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/ConfidenceRegressionSolutionEstimatedValuesView.cs
r14095 r14099 28 28 namespace HeuristicLab.Algorithms.DataAnalysis.Views { 29 29 [View("Estimated Values")] 30 [Content(typeof(IConfidence BoundRegressionSolution), false)]31 public partial class Confidence BoundRegressionSolutionEstimatedValuesView : RegressionSolutionEstimatedValuesView {30 [Content(typeof(IConfidenceRegressionSolution), false)] 31 public partial class ConfidenceRegressionSolutionEstimatedValuesView : RegressionSolutionEstimatedValuesView { 32 32 private const string ESTIMATEDVARIANCES_SERIES_NAME = "Estimated Variances (all)"; 33 33 private const string ESTIMATEDVARIANCES_TRAINING_SERIES_NAME = "Estimated Variances (training)"; 34 34 private const string ESTIMATEDVARIANCES_TEST_SERIES_NAME = "Estimated Variances (test)"; 35 35 36 public new IConfidence BoundRegressionSolution Content {37 get { return (IConfidence BoundRegressionSolution)base.Content; }36 public new IConfidenceRegressionSolution Content { 37 get { return (IConfidenceRegressionSolution)base.Content; } 38 38 set { base.Content = value; } 39 39 } 40 40 41 public Confidence BoundRegressionSolutionEstimatedValuesView()41 public ConfidenceRegressionSolutionEstimatedValuesView() 42 42 : base() { 43 43 InitializeComponent(); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/ConfidenceRegressionSolutionLineChartView.Designer.cs
r14095 r14099 20 20 #endregion 21 21 namespace HeuristicLab.Algorithms.DataAnalysis.Views { 22 partial class Confidence BasedRegressionSolutionLineChartView {22 partial class ConfidenceRegressionSolutionLineChartView { 23 23 /// <summary> 24 24 /// Required designer variable. -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/ConfidenceRegressionSolutionLineChartView.cs
r14095 r14099 31 31 namespace HeuristicLab.Algorithms.DataAnalysis.Views { 32 32 [View("Line Chart (95% confidence interval)")] 33 [Content(typeof(IConfidence BoundRegressionSolution))]34 public partial class Confidence BasedRegressionSolutionLineChartView : DataAnalysisSolutionEvaluationView {33 [Content(typeof(IConfidenceRegressionSolution))] 34 public partial class ConfidenceRegressionSolutionLineChartView : DataAnalysisSolutionEvaluationView { 35 35 private const string TARGETVARIABLE_SERIES_NAME = "Target Variable"; 36 36 private const string ESTIMATEDVALUES_TRAINING_SERIES_NAME = "Estimated Values (training)"; … … 38 38 private const string ESTIMATEDVALUES_ALL_SERIES_NAME = "Estimated Values (all samples)"; 39 39 40 public new IConfidence BoundRegressionSolution Content {41 get { return (IConfidence BoundRegressionSolution)base.Content; }40 public new IConfidenceRegressionSolution Content { 41 get { return (IConfidenceRegressionSolution)base.Content; } 42 42 set { base.Content = value; } 43 43 } 44 44 45 public Confidence BasedRegressionSolutionLineChartView()45 public ConfidenceRegressionSolutionLineChartView() 46 46 : base() { 47 47 InitializeComponent(); -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj
r14095 r14099 176 176 <Compile Include="Interfaces\ITransformation.cs" /> 177 177 <Compile Include="Interfaces\ITransformationMapper.cs" /> 178 <Compile Include="Interfaces\Regression\IConfidenceRegressionModel.cs" /> 179 <Compile Include="Interfaces\Regression\IConfidenceRegressionSolution.cs" /> 178 180 <Compile Include="Interfaces\Regression\IRegressionEnsembleModel.cs"> 179 181 <SubType>Code</SubType> -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ConfidenceBoundRegressionSolution.cs
r14095 r14099 30 30 /// </summary> 31 31 [StorableClass] 32 public class Confidence BoundRegressionSolution : RegressionSolution, IConfidenceBoundRegressionSolution {32 public class ConfidenceRegressionSolution : RegressionSolution, IConfidenceRegressionSolution { 33 33 protected readonly Dictionary<int, double> varianceEvaluationCache; 34 34 35 public new IConfidence BoundRegressionModel Model {36 get { return (IConfidence BoundRegressionModel)base.Model; }35 public new IConfidenceRegressionModel Model { 36 get { return (IConfidenceRegressionModel)base.Model; } 37 37 set { base.Model = value; } 38 38 } 39 39 40 40 [StorableConstructor] 41 protected Confidence BoundRegressionSolution(bool deserializing)41 protected ConfidenceRegressionSolution(bool deserializing) 42 42 : base(deserializing) { 43 43 varianceEvaluationCache = new Dictionary<int, double>(); 44 44 } 45 protected Confidence BoundRegressionSolution(ConfidenceBoundRegressionSolution original, Cloner cloner)45 protected ConfidenceRegressionSolution(ConfidenceRegressionSolution original, Cloner cloner) 46 46 : base(original, cloner) { 47 47 varianceEvaluationCache = new Dictionary<int, double>(original.varianceEvaluationCache); 48 48 } 49 public Confidence BoundRegressionSolution(IConfidenceBoundRegressionModel model, IRegressionProblemData problemData)49 public ConfidenceRegressionSolution(IConfidenceRegressionModel model, IRegressionProblemData problemData) 50 50 : base(model, problemData) { 51 51 varianceEvaluationCache = new Dictionary<int, double>(problemData.Dataset.Rows); … … 53 53 54 54 public override IDeepCloneable Clone(Cloner cloner) { 55 return new Confidence BoundRegressionSolution(this, cloner);55 return new ConfidenceRegressionSolution(this, cloner); 56 56 } 57 57 -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionModel.cs
r14095 r14099 21 21 22 22 using System.Collections.Generic; 23 23 24 namespace HeuristicLab.Problems.DataAnalysis { 24 25 public interface IRegressionModel : IDataAnalysisModel { … … 27 28 string TargetVariable { get; } 28 29 } 29 30 public interface IConfidenceBoundRegressionModel : IRegressionModel {31 IEnumerable<double> GetEstimatedVariances(IDataset dataset, IEnumerable<int> rows);32 }33 30 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionSolution.cs
r14095 r14099 44 44 double TestRootMeanSquaredError { get; } 45 45 } 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 }55 46 }
Note: See TracChangeset
for help on using the changeset viewer.