Changeset 8 for trunk/EventBenchConsole/src/de
- Timestamp:
- 04/13/11 13:21:39 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDtrainPPM.java
r4 r8 3 3 import java.security.InvalidParameterException; 4 4 import java.util.List; 5 import java.util.Random; 5 6 6 7 import de.ugoe.cs.eventbench.data.Event; … … 34 35 if( sequences.size()>0 ) { 35 36 if( sequences.get(0).get(0) instanceof Event ) { 36 PredictionByPartialMatch model = new PredictionByPartialMatch( );37 PredictionByPartialMatch model = new PredictionByPartialMatch(new Random()); 37 38 model.train(sequences); 38 39 if( GlobalDataContainer.getInstance().addData(modelname, model) ) { … … 40 41 } 41 42 // TODO TMP!! 42 model.randomSequence();43 Console.traceln(model.randomSequence().toString()); 43 44 44 45 } else {
Note: See TracChangeset
for help on using the changeset viewer.