- Timestamp:
- 05/07/21 15:16:07 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestUtil.cs
r17942 r17979 97 97 98 98 public static void AssertInputMatrix(double[,] inputMatrix) { 99 if (inputMatrix.ContainsNanOrInfinity())100 throw new NotSupportedException("Random forest modeling does not support NaN or infinityvalues in the input dataset.");99 foreach(var val in inputMatrix) if(double.IsNaN(val)) 100 throw new NotSupportedException("Random forest modeling does not support NaN values in the input dataset."); 101 101 } 102 102
Note: See TracChangeset
for help on using the changeset viewer.