summaryrefslogtreecommitdiff
path: root/src/nnetwork.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnetwork.js')
-rw-r--r--src/nnetwork.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nnetwork.js b/src/nnetwork.js
index dd21491..97b4ea5 100644
--- a/src/nnetwork.js
+++ b/src/nnetwork.js
@@ -1,4 +1,5 @@
-console.log('Hello from nnetwork.js');
+const math = require('mathjs');
+const Layer = require('./layer');
class NNetwork {
constructor(nodeCounts, activationFunctionNames, learningRate) {
@@ -34,3 +35,5 @@ class NNetwork {
this.layers.reverse()
}
};
+
+module.exports = NNetwork; \ No newline at end of file