Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/11/17 07:38:33 (7 years ago)
Author:
bwerth
Message:

#2700 made TSNE compatible with the new pausible BasicAlgs, removed rescaling of scatterplots during alg to give it a more movie-esque feel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TSNE/HeuristicLab.Algorithms.DataAnalysis/3.4/TSNE/TSNE.cs

    r14518 r14558  
    247247        if (!plot.Rows.ContainsKey(rowName)) {
    248248          plot.Rows.Add(dataRows.ContainsKey(rowName) ? dataRows[rowName] : new ScatterPlotDataRow(rowName, "", new List<Point2D<double>>()));
    249         } else plot.Rows[rowName].Points.Clear();
    250         plot.Rows[rowName].Points.AddRange(dataRowLookup[rowName].Select(i => new Point2D<double>(lowDimData[i, 0], lowDimData[i, 1])));
     249        }
     250        //else plot.Rows[rowName].Points.Clear();
     251        plot.Rows[rowName].Points.Replace(dataRowLookup[rowName].Select(i => new Point2D<double>(lowDimData[i, 0], lowDimData[i, 1])));
     252        //plot.Rows[rowName].Points.AddRange();
    251253      }
    252254    }
Note: See TracChangeset for help on using the changeset viewer.