If the 3 is an option for initializing the classifier, then maybe this "if"
can be turned into a loop based on that option?


On Thu, Mar 20, 2014 at 10:59 AM, vaskonov <notifications@github.com> wrote:

> In classifiers/EnhancedClassifier.js:
>
> > +		// 	var normalizedLabels = multilabelutils.normalizeOutputLabels(datum.output);
> > +		// 	process.exit(0)
> > +		// 	return {
> > +		// 		input: datum.input,
> > +		// 		output: (this.InputSplitLabel(normalizedLabels))
> > +		// 	}
> > +		// }, this);
> > +		// }
> > +			Observable = {}
> > +
> > +			// if (this.classifier.setObservable)
> > +				// {
> > +				_.each(dataset, function(datum, key, list){
> > +				_.each(multilabelutils.normalizeOutputLabels(datum.output), function(label, key, list){
> > +					_.each(this.splitJson(label), function(element, key, list){
> > +						if (key==0)
>
> It's just a way to build a hierarchical structure for the labels, we need
> this in greed approach, when we contruction labels according to already
> seen patterns. I agree it's not the way to do so, however it's ok for now I
> think
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/erelsgl/limdu/pull/14/files#r10786498>
> .
>