Changeset 2321
- Timestamp:
- 09/01/09 11:13:50 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Core/3.3/Console.cs
r2295 r2321 91 91 row.Set(modelResult.Result.Name, modelResult.Value); 92 92 } 93 Dictionary<HeuristicLab.Modeling.Database.IVariable, MatrixRow> inputVariableResultsEntries = 94 new Dictionary<HeuristicLab.Modeling.Database.IVariable, MatrixRow>(); 95 foreach (IInputVariableResult inputVariableResult in db.GetInputVariableResults(model)) { 96 if (!inputVariableResultsEntries.ContainsKey(inputVariableResult.Variable)) { 97 inputVariableResultsEntries[inputVariableResult.Variable] = new MatrixRow(); 98 inputVariableResultsEntries[inputVariableResult.Variable].Set("InputVariableName", inputVariableResult.Variable.Name); 99 } 100 inputVariableResultsEntries[inputVariableResult.Variable].Set(inputVariableResult.Result.Name, inputVariableResult.Value); 101 } 102 row.Set("VariableImpacts", inputVariableResultsEntries.Values); 103 93 104 row.Set("PersistedData", db.GetModelData(model)); 94 105 row.Set("TargetVariable", model.TargetVariable.Name); 95 106 row.Set("Algorithm", model.Algorithm.Name); 96 107 97 108 matrix.AddRow(row); 98 109 } … … 100 111 } 101 112 102 private VisualMatrix CreateVisualMatrix() { 113 private VisualMatrix CreateVisualMatrix() { 103 114 DatabaseService db = new DatabaseService(sqlServerCompactConnectionString + database); 104 115 db.Connect();
Note: See TracChangeset
for help on using the changeset viewer.