Changeset 12327 for branches/OptimizationNetworks
- Timestamp:
- 04/17/15 19:47:19 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/FeatureSelection Network/FeatureSelectionConnector.cs
r12325 r12327 82 82 regressionMsg["ProblemData"] = clonedProblemData; 83 83 regressionConPort.SendMessage(regressionMsg, e.Value2); 84 var solution = (IRegressionSolution)regressionMsg["Linear regression solution"];84 var solution = regressionMsg.Values.Select(v => v.Value).OfType<IRegressionSolution>().Single(); 85 85 86 86 selectionMsg["Quality"] = new DoubleValue(solution.TestNormalizedMeanSquaredError);
Note: See TracChangeset
for help on using the changeset viewer.