private Event createEvent ( String obs ) { int lastSpace = obs . lastIndexOf ( StringUtils . SPACE ) ; Event event = null ; if ( lastSpace != - 1 ) { String label = obs . substring ( lastSpace + 1 ) ; String [ ] contexts = obs . substring ( 0 , lastSpace ) . split ( "\\s+" ) ; // Split name and value float [ ] values = RealValueFileEventStream . parseContexts ( contexts ) ; // Label, feature name, feature value event = new Event ( label , contexts , values ) ; } return event ; }
away pdiff = 9 . 6875 ptwins = 0 . 5 lose