Changeset 5692 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.LibSVM/1.6.3/LibSVM-1.6.3/Solver.cs
- Timestamp:
- 03/15/11 15:51:55 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.ExtLibs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/branches/DataAnalysis Refactoring/HeuristicLab.ExtLibs merged eligible /branches/CloningRefactoring/HeuristicLab.ExtLibs 4656-4721 /branches/DataAnalysis/HeuristicLab.ExtLibs 4458-4459,4462,4464 /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.ExtLibs 5060 /branches/NET40/sources/HeuristicLab.ExtLibs 5138-5162 /branches/ParallelEngine/HeuristicLab.ExtLibs 5175-5192 /branches/SuccessProgressAnalysis/HeuristicLab.ExtLibs 5370-5682
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.LibSVM/1.6.3/LibSVM-1.6.3/Solver.cs
r4068 r5692 1460 1460 if (Math.Abs(f.alpha[i]) > 0) ++nSV; 1461 1461 model.SupportVectorCount = nSV; 1462 model.SupportVectorIndizes = new int[nSV];1463 1462 model.SupportVectors = new Node[nSV][]; 1464 1463 model.SupportVectorCoefficients[0] = new double[nSV]; … … 1468 1467 if (Math.Abs(f.alpha[i]) > 0) { 1469 1468 model.SupportVectors[j] = prob.X[i]; 1470 model.SupportVectorIndizes[j] = i;1471 1469 model.SupportVectorCoefficients[0][j] = f.alpha[i]; 1472 1470 … … 1596 1594 model.SupportVectorCount = nnz; 1597 1595 model.SupportVectors = new Node[nnz][]; 1598 model.SupportVectorIndizes = new int[nnz];1599 1596 p = 0; 1600 1597 for (i = 0; i < l; i++) { 1601 1598 if (nonzero[i]) { 1602 1599 model.SupportVectors[p] = x[i]; 1603 model.SupportVectorIndizes[p] = i;1604 1600 p++; 1605 1601 }
Note: See TracChangeset
for help on using the changeset viewer.