- Timestamp:
- 09/14/12 18:58:15 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GP-MoveOperators/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression-3.4.csproj
r8206 r8660 93 93 </PropertyGroup> 94 94 <ItemGroup> 95 <Reference Include="ALGLIB-3. 5.0, Version=3.5.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">96 <HintPath>..\..\bin\ALGLIB-3. 5.0.dll</HintPath>95 <Reference Include="ALGLIB-3.6.0, Version=3.6.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 96 <HintPath>..\..\bin\ALGLIB-3.6.0.dll</HintPath> 97 97 <Private>False</Private> 98 98 </Reference> … … 252 252 --> 253 253 <PropertyGroup> 254 <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)254 <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 255 255 set ProjectDir=$(ProjectDir) 256 256 set SolutionDir=$(SolutionDir) … … 259 259 call PreBuildEvent.cmd 260 260 </PreBuildEvent> 261 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> 262 export ProjectDir=$(ProjectDir) 263 export SolutionDir=$(SolutionDir) 264 265 $SolutionDir/PreBuildEvent.sh 266 </PreBuildEvent> 261 267 </PropertyGroup> 262 268 </Project> -
branches/GP-MoveOperators/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/Interfaces/ISymbolicRegressionModel.cs
r7259 r8660 20 20 #endregion 21 21 22 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;23 22 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 24 23 public interface ISymbolicRegressionModel : IRegressionModel, ISymbolicDataAnalysisModel { 24 double LowerEstimationLimit { get; } 25 double UpperEstimationLimit { get; } 25 26 } 26 27 } -
branches/GP-MoveOperators/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/Plugin.cs.frame
r7675 r8660 26 26 27 27 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 28 [Plugin("HeuristicLab.Problems.DataAnalysis.Symbolic.Regression","Provides classes to perform symbolic regression (single- or multiobjective).", "3.4. 2.$WCREV$")]28 [Plugin("HeuristicLab.Problems.DataAnalysis.Symbolic.Regression","Provides classes to perform symbolic regression (single- or multiobjective).", "3.4.3.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Problems.DataAnalysis.Symbolic.Regression-3.4.dll", PluginFileType.Assembly)] 30 [PluginDependency("HeuristicLab.ALGLIB", "3. 5")]30 [PluginDependency("HeuristicLab.ALGLIB", "3.6.0")] 31 31 [PluginDependency("HeuristicLab.Analysis", "3.3")] 32 32 [PluginDependency("HeuristicLab.Common", "3.3")] -
branches/GP-MoveOperators/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/Properties/AssemblyInfo.cs.frame
r7259 r8660 53 53 // by using the '*' as shown below: 54 54 [assembly: AssemblyVersion("3.4.0.0")] 55 [assembly: AssemblyFileVersion("3.4. 2.$WCREV$")]55 [assembly: AssemblyFileVersion("3.4.3.$WCREV$")] -
branches/GP-MoveOperators/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionSingleObjectiveEvaluator.cs
r8206 r8660 74 74 var targetValuesEnumerator = targetValues.GetEnumerator(); 75 75 var estimatedValuesEnumerator = estimatedValues.GetEnumerator(); 76 while (targetValuesEnumerator.MoveNext() & &estimatedValuesEnumerator.MoveNext()) {76 while (targetValuesEnumerator.MoveNext() & estimatedValuesEnumerator.MoveNext()) { 77 77 double target = targetValuesEnumerator.Current; 78 78 double estimated = estimatedValuesEnumerator.Current; … … 81 81 i++; 82 82 } 83 if (linearScalingCalculator.ErrorState == OnlineCalculatorError.None && (targetValuesEnumerator.MoveNext() || estimatedValuesEnumerator.MoveNext())) 84 throw new ArgumentException("Number of elements in target and estimated values enumeration do not match."); 85 83 86 double alpha = linearScalingCalculator.Alpha; 84 87 double beta = linearScalingCalculator.Beta; 88 if (linearScalingCalculator.ErrorState != OnlineCalculatorError.None) { 89 alpha = 0.0; 90 beta = 1.0; 91 } 85 92 86 93 //calculate the quality by using the passed online calculator -
branches/GP-MoveOperators/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionSingleObjectiveMeanAbsoluteErrorEvaluator.cs
r8206 r8660 58 58 OnlineCalculatorError errorState; 59 59 60 double m se;60 double mae; 61 61 if (applyLinearScaling) { 62 62 var maeCalculator = new OnlineMeanAbsoluteErrorCalculator(); 63 63 CalculateWithScaling(targetValues, estimatedValues, lowerEstimationLimit, upperEstimationLimit, maeCalculator, problemData.Dataset.Rows); 64 64 errorState = maeCalculator.ErrorState; 65 m se = maeCalculator.MeanAbsoluteError;65 mae = maeCalculator.MeanAbsoluteError; 66 66 } else { 67 IEnumerable<double> boundedEstimatedValues = estimatedValues.LimitToRange(lowerEstimationLimit, 68 upperEstimationLimit); 69 mse = OnlineMeanSquaredErrorCalculator.Calculate(targetValues, boundedEstimatedValues, out errorState); 67 IEnumerable<double> boundedEstimatedValues = estimatedValues.LimitToRange(lowerEstimationLimit, upperEstimationLimit); 68 mae = OnlineMeanAbsoluteErrorCalculator.Calculate(targetValues, boundedEstimatedValues, out errorState); 70 69 } 71 70 if (errorState != OnlineCalculatorError.None) return Double.NaN; 72 else return m se;71 else return mae; 73 72 } 74 73 -
branches/GP-MoveOperators/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionModel.cs
r8206 r8660 64 64 65 65 public ISymbolicRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData) { 66 return new SymbolicRegressionSolution(this, problemData);66 return new SymbolicRegressionSolution(this, new RegressionProblemData(problemData)); 67 67 } 68 68 IRegressionSolution IRegressionModel.CreateRegressionSolution(IRegressionProblemData problemData) {
Note: See TracChangeset
for help on using the changeset viewer.