Changeset 8466 for branches/NCA/HeuristicLab.Algorithms.NCA.Views/3.3
- Timestamp:
- 08/10/12 15:21:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/NCA/HeuristicLab.Algorithms.NCA.Views/3.3/NCADimensionReductionView.cs
r8437 r8466 31 31 namespace HeuristicLab.Algorithms.NCA.Views { 32 32 [View("Dimension Reduction")] 33 [Content(typeof(IN CAClassificationSolution), IsDefaultView = false)]33 [Content(typeof(INcaClassificationSolution), IsDefaultView = false)] 34 34 public partial class NCADimensionReductionView : DataAnalysisSolutionEvaluationView { 35 35 private ViewHost viewHost = new ViewHost(); 36 36 private ScatterPlot scatterPlot = new ScatterPlot(); 37 37 38 public new IN CAClassificationSolution Content {39 get { return (IN CAClassificationSolution)base.Content; }38 public new INcaClassificationSolution Content { 39 get { return (INcaClassificationSolution)base.Content; } 40 40 set { base.Content = value; } 41 41 } … … 73 73 74 74 int idx = 0; 75 if (reduced.GetLength(1) == 1) {75 if (reduced.GetLength(1) == 2) { // last column is the target variable 76 76 foreach (var r in range) { 77 77 var label = Content.ProblemData.Dataset.GetDoubleValue(Content.ProblemData.TargetVariable, r);
Note: See TracChangeset
for help on using the changeset viewer.