f18023cf1a
Fix more training and prediction bugs, but its still not working as intended.
2019-07-30 18:56:45 +01:00
dea7940b2e
Bugfix: Fix client-side Brain.js crashes
2019-07-30 18:38:44 +01:00
623af65aef
Remove unused imports
2019-07-30 16:40:12 +01:00
c9114cc4c4
Use new tidied normalising code on the client-side
2019-07-30 15:55:15 +01:00
4493fbb0fa
Tidy up normalising code
2019-07-30 15:42:37 +01:00
25bb302033
Bugfix: Fix Brain.js training issues
2019-07-30 15:28:31 +01:00
7d709c0fa5
Bugfix: Fix crashes in DatasetFetcher
2019-07-30 15:15:34 +01:00
03c1cbb97f
Finish refactoring to use Brain.js, but it's untested.
2019-07-29 18:06:50 +01:00
cce0761fed
Continue brain.js refactoring, but it's still not finished yet.
2019-07-29 17:02:34 +01:00
2a81ac792e
Start replacing Tensorflow with Brain.js, but it's not finished yet
...
Note to self: bug them to upgrade ot GPU.js 2 for future projects
2019-07-29 14:36:52 +01:00
43f99d6b5d
Try to add an additional input to the neural network, but it's not working.
2019-07-29 14:17:28 +01:00
ff412dcd5d
Update CLI help
2019-07-25 13:17:23 +01:00
61edaf6fa3
Write AI layer, but it's untested.
2019-07-23 15:45:29 +01:00
f0694de02c
Bugfix: Create 1 model per-gateway
2019-07-23 15:14:50 +01:00
d158868c3f
AITrainer: Save gateway locations to the index file
2019-07-23 13:44:00 +01:00
ebbc96ec8c
HACK: Dynamically import the AITrainer when it's needed to avoid crashes when the AVX instruction set isn't available
2019-07-22 16:04:49 +01:00
c2810d4871
Improve format of index
2019-07-22 12:42:04 +01:00
d9cf650019
Write index JSON file to AI output directory
2019-07-22 12:40:19 +01:00
92574bc98c
Serialise trained AIs and save them to disk
2019-07-22 11:53:30 +01:00
7469d4c1bf
ttn listener:Delete debug lines
2019-07-19 13:10:47 +01:00
5f5a4382a3
Move npm dependencies to top-level of repo
2019-07-19 12:12:34 +01:00
5c7cc1e906
Fix bugs in AI trainer. It works, but precisely it's doing si up for debate....
2019-07-18 17:22:37 +01:00
192e31a925
Write the the data input, but it's untested.
...
There's also some confusion over the batch size. If it doesn't work, we
probably need to revise our understanding of the batch size in
different contexts.
2019-07-18 16:34:25 +01:00
6dbb6c3b87
Hook up a dataset importer for training the AIs, but it's untested.
...
Also, we don't have any code that actually does the training itself
either yet.
2019-07-17 15:15:31 +01:00
f7e2d77daa
Start writing the AI training code, but it's not finished yet
2019-07-17 14:16:24 +01:00
1252d60af0
Default to 0600 when creating the custom settings file
...
The custom settings file will likely contain encryption keys and other
sensitive data, so it's probably a good idea to tighten up the default
permissions on it.
2019-07-16 18:08:39 +01:00
952312fbd3
Add none mode to logging.date_display_mode
2019-07-16 18:03:35 +01:00
2a9de80848
Add logging.colour settings option
2019-07-16 18:01:17 +01:00
d84d838775
Another typo
2019-07-16 16:32:24 +01:00
d806a2e4c9
Fixed bugs in new AEs encryption layer.
2019-07-15 14:31:39 +01:00
723941bdf8
Implement an extra layer of encryption, but it's untested.
2019-07-15 13:49:44 +01:00
0604062966
Add aes-js to decrypt the incoming data, but we haven't put it to use just yet
2019-07-15 11:46:41 +01:00
4914d5a492
Bugfix data processor
2019-07-11 14:07:55 +01:00
70da049d49
Implement initial data processor, but it's untested.
2019-07-11 14:03:27 +01:00
8d822c33c0
Tidy up logging
2019-07-10 14:44:52 +01:00
1ee184d82d
Bugfix: Use latitude and longitude instead of lat long
2019-07-10 14:32:58 +01:00
70d29a9517
Bugfix: Correct SQlite db intialisation code
2019-07-10 14:20:46 +01:00
08a4ebe9f1
Bugfix: Reference db_template currectly when initialising the db connection
2019-07-10 14:13:47 +01:00
bd08aae1da
Asyncify everything so that we can do dependency injection
2019-07-10 14:11:46 +01:00
121cfc2418
Write some glue code to insert the measurement info into the database
...
....but it's untested.
2019-07-10 12:21:38 +01:00
855cbc0c1b
Insert into ReadingRepo, but it's not tested yet
2019-07-09 17:31:08 +01:00
3123215f11
Make sure SQLite repos reflect the database template
2019-07-09 14:07:23 +01:00
489aac2263
Update SQLite repositories to use awilix container
2019-07-09 14:05:42 +01:00
d65f512003
Pass message on to message handler
2019-07-09 13:14:25 +01:00
380f984253
Bugfix: Correct payload decoder
2019-07-09 13:14:12 +01:00
46bb1d9047
Add a decode-test action to the Node.js server.
2019-07-09 13:12:54 +01:00
321b154105
Decode incoming messages as JSON
2019-07-09 11:46:35 +01:00
5aa990b421
Use mqtt directly instead of simple-mqtt-client
2019-07-08 16:06:06 +01:00
42841d07e8
Finish switching over to simple-mqtt-client, but it's still broken
2019-07-08 15:42:05 +01:00
1a39c5902e
Start switching over to simple-mqtt-client, but it's not finished yet
2019-07-04 20:53:00 +01:00