Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9455 for trunk/sources


Ignore:
Timestamp:
05/07/13 00:18:12 (12 years ago)
Author:
abeham
Message:

#2046: removed unused parameter in PCAReduce method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Clustering/ClusteringSolutionVisualizationView.cs

    r8435 r9455  
    7878      var rows = classes.Values.Select(x => x.Item2).Distinct().ToDictionary(c => c, c => new ScatterPlotDataRow(c, string.Empty, Enumerable.Empty<Point2D<double>>()));
    7979
    80       var reduced = PCAReduce(Content.ProblemData.Dataset, range, Content.ProblemData.AllowedInputVariables, Content.Model);
     80      var reduced = PCAReduce(Content.ProblemData.Dataset, range, Content.ProblemData.AllowedInputVariables);
    8181
    8282      int idx = 0;
     
    8989    }
    9090
    91     private static double[,] PCAReduce(Dataset dataset, IEnumerable<int> rows, IEnumerable<string> variables, IDataAnalysisModel model) {
    92       var clusteringModel = model as IClusteringModel;
    93       if (clusteringModel == null) return new double[0, 0];
    94 
     91    private static double[,] PCAReduce(Dataset dataset, IEnumerable<int> rows, IEnumerable<string> variables) {
    9592      var instances = rows.ToArray();
    9693      var attributes = variables.ToArray();
Note: See TracChangeset for help on using the changeset viewer.