spark + bagofwords classification demo