function(dataset) {
		// add ['start'] and ['end'] as a try to resolve Append:previous FP
		_.map(dataset, function(num){ 
			num['input'] = "['start'] "+ num['input'] + " ['end']"
			return num });

		this.classifier.trainBatch(dataset)
	}
function(dataset) {
		
		_.map(dataset, function(num){ 
			num['input'] = "['start'] "+ num['input'] + " ['end']"
			return num });

		this.classifier.trainBatch(dataset)
	}
function ( dataset ) { // add ['start'] and ['end'] as a try to resolve Append:previous FP _ . map ( dataset , function ( num ) { num [ 'input' ] = "['start'] " + num [ 'input' ] + " ['end']" return num } ) ; this . classifier . trainBatch ( dataset ) }
Train the classifier with all the given documents.

@param dataset
an array with objects of the format:
{input: sample1, output: [class11, class12...]}
Train the classifier with all the given documents .