Drop neural net and trained classifier

This commit is contained in:
Shaunak Kishore
2015-09-23 23:39:33 -04:00
parent b3606087b9
commit 3682b75835
6 changed files with 1 additions and 2242 deletions

View File

@ -1,21 +0,0 @@
"use strict";
this.combined_classifier = undefined;
Meteor.startup(function() {
var weight = 0.8;
var dimensions = 8;
var input = new convnetjs.Vol(1, 1, dimensions);
var net = new convnetjs.Net();
net.fromJSON(TRAINED_NEURAL_NET);
function net_classifier(features) {
input.w = features;
var softmax = net.forward(input).w;
return softmax[1] - softmax[0];
}
combined_classifier = function(features) {
return hand_tuned_classifier(features) + weight*net_classifier(features);
}
});