Changeset 17515
- Timestamp:
- 04/20/20 16:13:56 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4
- Files:
-
- 3 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj
r16801 r17515 118 118 </ItemGroup> 119 119 <ItemGroup> 120 <Compile Include="Interfaces\ISupervisedDataAnalysisModel.cs" /> 121 <Compile Include="Interfaces\ISupervisedDataAnalysisProblem.cs" /> 122 <Compile Include="Interfaces\ISupervisedDataAnalysisProblemData.cs" /> 120 123 <Compile Include="DatasetExtensions.cs" /> 121 124 <Compile Include="DatasetUtil.cs" /> -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationProblem.cs
r17226 r17515 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 using HEAL.Attic;25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IClassificationModel.cs
r17226 r17515 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using HEAL.Attic; … … 28 27 /// <summary> 29 28 /// Interface for all classification models. 30 /// <remarks>All methods and properties in inthis interface must be implemented thread safely</remarks>29 /// <remarks>All methods and properties in this interface must be implemented thread safely</remarks> 31 30 /// </summary> 32 public interface IClassificationModel : I DataAnalysisModel {31 public interface IClassificationModel : ISupervisedDataAnalysisModel { 33 32 IEnumerable<double> GetEstimatedClassValues(IDataset dataset, IEnumerable<int> rows); 34 33 IClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData); 35 34 bool IsProblemDataCompatible(IClassificationProblemData problemData, out string errorMessage); 36 string TargetVariable { get; set; }37 event EventHandler TargetVariableChanged;38 35 } 39 36 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IClassificationProblem.cs
r17226 r17515 23 23 namespace HeuristicLab.Problems.DataAnalysis { 24 24 [StorableType("fd15f587-2a68-4180-86c4-82410e3f22e2")] 25 public interface IClassificationProblem : I DataAnalysisProblem<IClassificationProblemData> {25 public interface IClassificationProblem : ISupervisedDataAnalysisProblem<IClassificationProblemData> { 26 26 } 27 27 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IClassificationProblemData.cs
r17226 r17515 25 25 namespace HeuristicLab.Problems.DataAnalysis { 26 26 [StorableType("8cd26df9-aed7-4378-9516-04322b6f9d2e")] 27 public interface IClassificationProblemData : IDataAnalysisProblemData { 28 string TargetVariable { get; set; } 29 27 public interface IClassificationProblemData : ISupervisedDataAnalysisProblemData { 30 28 IEnumerable<string> ClassNames { get; } 31 29 string PositiveClass { get; set; } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisProblem.cs
r17226 r17515 21 21 22 22 using System; 23 using HEAL.Attic; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Optimization; 25 using HEAL.Attic;26 26 27 27 namespace HeuristicLab.Problems.DataAnalysis { 28 //TODO Change to new empty problem interface 28 29 [StorableType("74e4c570-3881-4bfa-a5bb-2bb71cdee2b3")] 29 30 public interface IDataAnalysisProblem : IProblem { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionModel.cs
r17226 r17515 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using HEAL.Attic; … … 28 27 /// <summary> 29 28 /// Interface for all regression models. 30 /// <remarks>All methods and properties in inthis interface must be implemented thread safely</remarks>29 /// <remarks>All methods and properties in this interface must be implemented thread safely</remarks> 31 30 /// </summary> 32 public interface IRegressionModel : I DataAnalysisModel {31 public interface IRegressionModel : ISupervisedDataAnalysisModel { 33 32 IEnumerable<double> GetEstimatedValues(IDataset dataset, IEnumerable<int> rows); 34 33 IRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData); 35 34 bool IsProblemDataCompatible(IRegressionProblemData problemData, out string errorMessage); 36 string TargetVariable { get; set; }37 event EventHandler TargetVariableChanged;38 35 } 39 36 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionProblem.cs
r17226 r17515 23 23 namespace HeuristicLab.Problems.DataAnalysis { 24 24 [StorableType("4541dcea-2a97-451f-b3bd-84a1342e2b1d")] 25 public interface IRegressionProblem : I DataAnalysisProblem<IRegressionProblemData> {25 public interface IRegressionProblem : ISupervisedDataAnalysisProblem<IRegressionProblemData> { 26 26 } 27 27 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionProblemData.cs
r17226 r17515 25 25 namespace HeuristicLab.Problems.DataAnalysis { 26 26 [StorableType("1ef22b8b-f3b4-494b-8cdd-f08e84e316e0")] 27 public interface IRegressionProblemData : IDataAnalysisProblemData { 28 string TargetVariable { get; set; } 29 27 public interface IRegressionProblemData : ISupervisedDataAnalysisProblemData { 30 28 IEnumerable<double> TargetVariableValues { get; } 31 29 IEnumerable<double> TargetVariableTrainingValues { get; }
Note: See TracChangeset
for help on using the changeset viewer.