mirror of
https://github.com/skishore/makemeahanzi.git
synced 2025-11-02 13:01:40 +08:00
Use ES2015 + strict-mode
This commit is contained in:
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user