Use ES2015 + strict-mode

This commit is contained in:
Shaunak Kishore
2015-09-23 23:30:02 -04:00
parent 87ba609940
commit cf825852e8
16 changed files with 35 additions and 2 deletions

View File

@ -1,3 +1,7 @@
"use strict";
this.combined_classifier = undefined;
Meteor.startup(function() {
var weight = 0.8;
var dimensions = 8;
@ -11,7 +15,7 @@ Meteor.startup(function() {
return softmax[1] - softmax[0];
}
this.combined_classifier = function(features) {
combined_classifier = function(features) {
return hand_tuned_classifier(features) + weight*net_classifier(features);
}
});