Changeset 2369
- Timestamp:
- 09/18/09 20:27:27 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Modeling/3.2
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Modeling/3.2/AnalyzerModel.cs
r2355 r2369 43 43 set { targetVariable = value; } 44 44 } 45 46 public ModelType Type { get; set; } 45 47 46 48 private List<string> inputVariables = new List<string>(); -
trunk/sources/HeuristicLab.Modeling/3.2/DefaultClassificationOperators.cs
r2356 r2369 85 85 model.SetResult("ValidationAccuracy", modelScope.GetVariableValue<DoubleData>("ValidationAccuracy", false).Data); 86 86 model.SetResult("TestAccuracy", modelScope.GetVariableValue<DoubleData>("TestAccuracy", false).Data); 87 model.Type = ModelType.Classification; 87 88 return model; 88 89 } -
trunk/sources/HeuristicLab.Modeling/3.2/DefaultRegressionOperators.cs
r2356 r2369 156 156 model.Dataset = ds; 157 157 model.TargetVariable = ds.GetVariableName(modelScope.GetVariableValue<IntData>("TargetVariable", true).Data); 158 model.Type = ModelType.Regression; 158 159 model.TrainingSamplesStart = modelScope.GetVariableValue<IntData>("TrainingSamplesStart", true).Data; 159 160 model.TrainingSamplesEnd = modelScope.GetVariableValue<IntData>("TrainingSamplesEnd", true).Data; -
trunk/sources/HeuristicLab.Modeling/3.2/DefaultTimeSeriesOperators.cs
r2356 r2369 72 72 model.SetResult("ValidationTheilInequalityCoefficient", modelScope.GetVariableValue<DoubleData>("ValidationTheilInequalityCoefficient", true).Data); 73 73 model.SetResult("TestTheilInequalityCoefficient", modelScope.GetVariableValue<DoubleData>("TestTheilInequalityCoefficient", true).Data); 74 74 model.Type = ModelType.TimeSeriesPrognosis; 75 75 return model; 76 76 } -
trunk/sources/HeuristicLab.Modeling/3.2/IAnalyzerModel.cs
r2355 r2369 31 31 Dataset Dataset { get; set; } 32 32 string TargetVariable { get; set; } 33 ModelType Type { get; set; } 33 34 IEnumerable<string> InputVariables { get; } 34 35 IEnumerable<KeyValuePair<string, double>> Results { get; }
Note: See TracChangeset
for help on using the changeset viewer.