- Timestamp:
- 07/11/15 19:44:35 (9 years ago)
- Location:
- stable
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 12292-12293
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 12292
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/Script Sources/GridSearchRFClassificationScriptSource.cs
r11907 r12740 4 4 5 5 using HeuristicLab.Algorithms.DataAnalysis; 6 using HeuristicLab.Common; 6 7 using HeuristicLab.Problems.DataAnalysis; 7 using HeuristicLab.Problems.Instances.DataAnalysis;8 8 using HeuristicLab.Scripting; 9 9 … … 29 29 */ 30 30 static Dictionary<string, IEnumerable<double>> randomForestParameterRanges = new Dictionary<string, IEnumerable<double>> { 31 { "N", ValueGenerator.GenerateSteps(5m, 10, 1).Select(x => Math.Pow(2,(double)x)) },32 { "R", ValueGenerator.GenerateSteps(0.05m, 0.66m, 0.05m).Select(x => (double)x) },33 { "M", ValueGenerator.GenerateSteps(0.1m, 1, 0.1m).Select(x => (double)x) }31 { "N", SequenceGenerator.GenerateSteps(5m, 10, 1).Select(x => Math.Pow(2,(double)x)) }, 32 { "R", SequenceGenerator.GenerateSteps(0.05m, 0.66m, 0.05m).Select(x => (double)x) }, 33 { "M", SequenceGenerator.GenerateSteps(0.1m, 1, 0.1m).Select(x => (double)x) } 34 34 }; 35 35 -
stable/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/Script Sources/GridSearchRFRegressionScriptSource.cs
r11907 r12740 4 4 5 5 using HeuristicLab.Algorithms.DataAnalysis; 6 using HeuristicLab.Common; 6 7 using HeuristicLab.Problems.DataAnalysis; 7 using HeuristicLab.Problems.Instances.DataAnalysis;8 8 using HeuristicLab.Random; 9 9 using HeuristicLab.Scripting; … … 30 30 */ 31 31 static Dictionary<string, IEnumerable<double>> randomForestParameterRanges = new Dictionary<string, IEnumerable<double>> { 32 { "N", ValueGenerator.GenerateSteps(5m, 10, 1).Select(x => Math.Pow(2,(double)x)) },33 { "R", ValueGenerator.GenerateSteps(0.05m, 0.66m, 0.05m).Select(x => (double)x) },34 { "M", ValueGenerator.GenerateSteps(0.1m, 1, 0.1m).Select(x => (double)x) }32 { "N", SequenceGenerator.GenerateSteps(5m, 10, 1).Select(x => Math.Pow(2,(double)x)) }, 33 { "R", SequenceGenerator.GenerateSteps(0.05m, 0.66m, 0.05m).Select(x => (double)x) }, 34 { "M", SequenceGenerator.GenerateSteps(0.1m, 1, 0.1m).Select(x => (double)x) } 35 35 }; 36 36 -
stable/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/Script Sources/GridSearchSVMClassificationScriptSource.cs
r11789 r12740 5 5 6 6 using HeuristicLab.Algorithms.DataAnalysis; 7 using HeuristicLab.Common; 7 8 using HeuristicLab.Core; 8 9 using HeuristicLab.Data; 9 10 using HeuristicLab.Parameters; 10 11 using HeuristicLab.Problems.DataAnalysis; 11 using HeuristicLab.Problems.Instances.DataAnalysis;12 12 using HeuristicLab.Scripting; 13 13 … … 38 38 { "svm_type", new List<double> {svm_parameter.NU_SVC } }, 39 39 { "kernel_type", new List<double> { svm_parameter.RBF }}, 40 { "C", ValueGenerator.GenerateSteps(-1m, 10, 1).Select(x => Math.Pow(2,(double)x)) },41 { "gamma", ValueGenerator.GenerateSteps(-4m, -1, 1).Select(x => Math.Pow(2,(double)x)) },42 // { "eps", ValueGenerator.GenerateSteps(-8m, -1, 1).Select(x => Math.Pow(2, (double)x)) },43 { "nu" , ValueGenerator.GenerateSteps(-10m, 0, 1m).Select(x => Math.Pow(2, (double)x)) },44 // { "degree", ValueGenerator.GenerateSteps(1m, 4, 1).Select(x => (double)x) }40 { "C", SequenceGenerator.GenerateSteps(-1m, 10, 1).Select(x => Math.Pow(2,(double)x)) }, 41 { "gamma", SequenceGenerator.GenerateSteps(-4m, -1, 1).Select(x => Math.Pow(2,(double)x)) }, 42 // { "eps", SequenceGenerator.GenerateSteps(-8m, -1, 1).Select(x => Math.Pow(2, (double)x)) }, 43 { "nu" , SequenceGenerator.GenerateSteps(-10m, 0, 1m).Select(x => Math.Pow(2, (double)x)) }, 44 // { "degree", SequenceGenerator.GenerateSteps(1m, 4, 1).Select(x => (double)x) } 45 45 }; 46 46 -
stable/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/Script Sources/GridSearchSVMRegressionScriptSource.cs
r11789 r12740 5 5 6 6 using HeuristicLab.Algorithms.DataAnalysis; 7 using HeuristicLab.Common; 7 8 using HeuristicLab.Core; 8 9 using HeuristicLab.Data; 9 10 using HeuristicLab.Parameters; 10 11 using HeuristicLab.Problems.DataAnalysis; 11 using HeuristicLab.Problems.Instances.DataAnalysis;12 12 using HeuristicLab.Scripting; 13 13 … … 38 38 { "svm_type", new List<double> {svm_parameter.NU_SVR } }, 39 39 { "kernel_type", new List<double> { svm_parameter.RBF }}, 40 { "C", ValueGenerator.GenerateSteps(-1m, 12, 1).Select(x => Math.Pow(2, (double)x)) },41 { "gamma", ValueGenerator.GenerateSteps(-4m, -1, 1).Select(x => Math.Pow(2, (double)x)) },42 // { "eps", ValueGenerator.GenerateSteps(-8m, -1, 1).Select(x => Math.Pow(2, (double)x)) },43 { "nu" , ValueGenerator.GenerateSteps(-10m, 0, 1m).Select(x => Math.Pow(2, (double)x)) },44 // { "degree", ValueGenerator.GenerateSteps(1m, 4, 1).Select(x => (double)x) }40 { "C", SequenceGenerator.GenerateSteps(-1m, 12, 1).Select(x => Math.Pow(2, (double)x)) }, 41 { "gamma", SequenceGenerator.GenerateSteps(-4m, -1, 1).Select(x => Math.Pow(2, (double)x)) }, 42 // { "eps", SequenceGenerator.GenerateSteps(-8m, -1, 1).Select(x => Math.Pow(2, (double)x)) }, 43 { "nu" , SequenceGenerator.GenerateSteps(-10m, 0, 1m).Select(x => Math.Pow(2, (double)x)) }, 44 // { "degree", SequenceGenerator.GenerateSteps(1m, 4, 1).Select(x => (double)x) } 45 45 }; 46 46
Note: See TracChangeset
for help on using the changeset viewer.