- Timestamp:
- 02/24/17 13:16:09 (8 years ago)
- Location:
- branches/symbreg-factors-2650/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearDiscriminantAnalysis.cs
r14542 r14701 78 78 double[,] factorMatrix = AlglibUtil.PrepareInputMatrix(dataset, factorVariables, rows); 79 79 80 inputMatrix = factorMatrix. VertCat(inputMatrix);80 inputMatrix = factorMatrix.HorzCat(inputMatrix); 81 81 82 82 if (inputMatrix.Cast<double>().Any(x => double.IsNaN(x) || double.IsInfinity(x))) -
branches/symbreg-factors-2650/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearRegression.cs
r14542 r14701 79 79 double[,] binaryMatrix = AlglibUtil.PrepareInputMatrix(dataset, factorVariables, rows); 80 80 double[,] doubleVarMatrix = AlglibUtil.PrepareInputMatrix(dataset, doubleVariables.Concat(new string[] { targetVariable }), rows); 81 var inputMatrix = binaryMatrix. VertCat(doubleVarMatrix);81 var inputMatrix = binaryMatrix.HorzCat(doubleVarMatrix); 82 82 83 83 if (inputMatrix.Cast<double>().Any(x => double.IsNaN(x) || double.IsInfinity(x))) -
branches/symbreg-factors-2650/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/MultinomialLogitClassification.cs
r14542 r14701 76 76 var factorVariableValues = AlglibUtil.GetFactorVariableValues(dataset, factorVariableNames, rows); 77 77 var factorMatrix = AlglibUtil.PrepareInputMatrix(dataset, factorVariableValues, rows); 78 inputMatrix = factorMatrix. VertCat(inputMatrix);78 inputMatrix = factorMatrix.HorzCat(inputMatrix); 79 79 80 80 if (inputMatrix.Cast<double>().Any(x => double.IsNaN(x) || double.IsInfinity(x))) -
branches/symbreg-factors-2650/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/MultinomialLogitModel.cs
r14240 r14701 100 100 double[,] factorData = AlglibUtil.PrepareInputMatrix(dataset, factorVariables, rows); 101 101 102 inputData = factorData. VertCat(inputData);102 inputData = factorData.HorzCat(inputData); 103 103 104 104 int n = inputData.GetLength(0);
Note: See TracChangeset
for help on using the changeset viewer.