Brain.js: BrainJS VS TensorFlow

Created on 13 Aug 2018  路  2Comments  路  Source: BrainJS/brain.js

Hey guys.

I'm a pretty good JS developer and I favor JS compared to Python (for some reasons). Which is why I decided to use TenserFlowJS (now that it's out). I liked it until I found this library which is like crazy simple and seems to meet my use case. However accuracy (as in how good it can do predictions) is very important to my use case.

So my question is: How accurate is BrainJS compared to TensorFlowJS? I searched and couldn't find anything on this topic, probably because TensorFlowJS is pretty new. I'd like to hear some thoughts of you guys.

question

Most helpful comment

Accuracy in both would be equivalent. A trained net is a trained net. In tensorflow.js the training algorithms may allow the net to train a bit faster or slower, I believe there are several available for tensorflow where as we only have one available in v1, which is just standard gradient descent.

Brain.js v2 has Adam with momentum under the hood, so look forward to that.

All 2 comments

Accuracy in both would be equivalent. A trained net is a trained net. In tensorflow.js the training algorithms may allow the net to train a bit faster or slower, I believe there are several available for tensorflow where as we only have one available in v1, which is just standard gradient descent.

Brain.js v2 has Adam with momentum under the hood, so look forward to that.

Will do. Thanks for the response.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sts-ryan-holton picture sts-ryan-holton  路  3Comments

AkashGutha picture AkashGutha  路  5Comments

lynxionxs picture lynxionxs  路  5Comments

robertleeplummerjr picture robertleeplummerjr  路  6Comments

VEXLife picture VEXLife  路  4Comments