- Timestamp:
- 07/06/17 11:12:18 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/kMeans/KMeansClustering.cs
r15061 r15142 90 90 double[,] centers; 91 91 int[] xyc; 92 double[,] inputMatrix = AlglibUtil.PrepareInputMatrix(dataset,allowedInputVariables, rows);92 double[,] inputMatrix = dataset.ToArray(allowedInputVariables, rows); 93 93 if (inputMatrix.Cast<double>().Any(x => double.IsNaN(x) || double.IsInfinity(x))) 94 94 throw new NotSupportedException("k-Means clustering does not support NaN or infinity values in the input dataset.");
Note: See TracChangeset
for help on using the changeset viewer.