Changeset 7 for trunk/CrossPare/src
- Timestamp:
- 08/06/14 14:41:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/training/WekaBaseTraining2.java
r2 r7 74 74 ps.setNumFolds(5); 75 75 //ps.addCVParameter("I 5 25 5"); 76 ps.addCVParameter(Arrays.asList(cvparam).toString().replaceAll(", ", " ").replaceAll("^\\[|\\]$", "")); 76 for( int i=1 ; i<cvparam.length/4 ; i++ ) { 77 ps.addCVParameter(Arrays.asList(Arrays.copyOfRange(cvparam, 0, 4*i)).toString().replaceAll(", ", " ").replaceAll("^\\[|\\]$", "")); 78 } 77 79 78 80 cl = ps;
Note: See TracChangeset
for help on using the changeset viewer.