Changeset 2217 for branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Core/3.3/Results.cs
- Timestamp:
- 07/31/09 12:11:41 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Core/3.3/Results.cs
r2208 r2217 85 85 86 86 private IEnumerable<ResultsEntry> SelectRows() { 87 database.GetAllModelResults(); 87 88 entries = new List<ResultsEntry>(); 88 89 foreach (var model in database.GetAllModels()) { … … 91 92 modelEntry.Set(modelResult.Result.Name, modelResult.Value); 92 93 } 93 modelEntry.Set("PersistedData", model.Data);94 modelEntry.Set("PersistedData", database.GetModelData(model)); 94 95 modelEntry.Set("TargetVariable", model.TargetVariable.Name); 95 96 Dictionary<HeuristicLab.Modeling.Database.IVariable, ResultsEntry> inputVariableResultsEntries = … … 100 101 inputVariableResultsEntries[inputVariableResult.Variable] = new ResultsEntry(); 101 102 inputVariableResultsEntries[inputVariableResult.Variable].Set("InputVariableName", inputVariableResult.Variable.Name); 102 103 103 } 104 inputVariableResultsEntries[inputVariableResult.Variable].Set(inputVariableResult.Result.Name, inputVariableResult.Value); 104 105 } 105 106 modelEntry.Set("VariableImpacts", inputVariableResultsEntries.Values);
Note: See TracChangeset
for help on using the changeset viewer.