RapidLib issueshttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues2017-09-01T09:10:30Zhttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/98"Shape identification using Dynamic Time Warping" is broken2017-09-01T09:10:30ZFrancisco Bernardo"Shape identification using Dynamic Time Warping" is brokenI haven't updated myself on the last changes on RapidLib.DTW but there is this bug about an offset in the example.
https://live.codecircle.com/d/87dKNLQorohuER84X
I suspect this is about the change in the library.I haven't updated myself on the last changes on RapidLib.DTW but there is this bug about an offset in the example.
https://live.codecircle.com/d/87dKNLQorohuER84X
I suspect this is about the change in the library.Michael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/97Using RapidLib in a React/Webpack application2017-10-08T08:16:06ZFrancisco BernardoUsing RapidLib in a React/Webpack applicationI've been trying to use RapidLib in a React/Webpack application and haven't been able to do it.
I tried to use both versions of RapidLib. The one in code circle, supposedly client side JS library,
https://www.doc.gold.ac.uk/eavi/rapid...I've been trying to use RapidLib in a React/Webpack application and haven't been able to do it.
I tried to use both versions of RapidLib. The one in code circle, supposedly client side JS library,
https://www.doc.gold.ac.uk/eavi/rapidmix/RapidLib.js
and the "node" one (which I just learned that it isn't a node module, but unsure of what it really is)
http://doc.gold.ac.uk/eavi/rapidmixapi.com/examples/RapidLib.js.zip
So far I've had errors while trying to figure out what had a constructor and what is a function (given that this doesn't seem to be documented anywhere) referring that there is no constructor for RapidLib, Regression/Classification is not a function, or there is no constructor
`Failed to compile.
./src/rapidLib/RapidLib.js
Line 2: 'RapidLib' is not defined no-undef
Line 26: 'path' is not defined no-undef
Line 41: 'read' is not defined no-undef
Line 63: Unexpected use of 'print' no-restricted-globals
Line 64: 'printErr' is not defined no-undef
Line 66: 'read' is not defined no-undef
Line 74: 'readbuffer' is not defined no-undef
Line 76: 'read' is not defined no-undef
Line 81: 'scriptArgs' is not defined no-undef
Line 105: 'dump' is not defined no-undef
Line 109: 'importScripts' is not defined no-undef
Line 367: 'EmterpreterAsync' is not defined no-undef
Line 373: 'EmterpreterAsync' is not defined no-undef
Line 2536: 'readline' is not defined no-undef
Line 3460: 'FileReaderSync' is not defined no-undef
Line 4598: 'path' is not defined no-undef
Line 4609: 'node' is not defined no-undef
Line 5426: 'SOCKFS' is not defined no-undef
Line 5433: '__read_sockaddr' is not defined no-undef
Line 5435: 'DNS' is not defined no-undef
Line 5670: 'FUNCTION_TABLE' is not defined no-undef
Line 6396: 'SDL' is not defined no-undef
Line 6396: 'SDL' is not defined no-undef
Line 6396: 'SDL' is not defined no-undef
Line 6484: 'MozBlobBuilder' is not defined no-undef
Line 6484: 'WebKitBlobBuilder' is not defined no-undef
Line 6647: 'GL' is not defined no-undef
Line 6649: 'GL' is not defined no-undef
Line 6659: 'GL' is not defined no-undef
Line 6846: 'SDL' is not defined no-undef
Line 6847: 'SDL' is not defined no-undef
Line 6937: 'SDL' is not defined no-undef
Line 6939: 'SDL' is not defined no-undef
Line 6945: 'SDL' is not defined no-undef
Line 6947: 'SDL' is not defined no-undef
Line 6968: Unexpected use of 'screen' no-restricted-globals
Line 6969: Unexpected use of 'screen' no-restricted-globals
Line 6969: Unexpected use of 'screen' no-restricted-globals
Line 29674: 'quit' is not defined no-undef
`Francisco BernardoFrancisco Bernardohttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/96ES6 wrapper JS code2017-08-30T13:18:45ZJoseph LarraldeES6 wrapper JS codeIt would be nice to be able to write the wrapping code in es6 and transpile it with babel before passing it to emscriptenIt would be nice to be able to write the wrapping code in es6 and transpile it with babel before passing it to emscriptenJoseph LarraldeJoseph Larraldehttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/95Incorporate Babel into builds2017-09-23T16:29:01ZMichael ZbyszyńskiIncorporate Babel into buildsI'd like to use babel to transpile ES6 rapidMix.js into something emscripten likes.I'd like to use babel to transpile ES6 rapidMix.js into something emscripten likes.Michael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/94Implement FastDTW2017-09-18T13:49:24ZMichael ZbyszyńskiImplement FastDTWThe current DTW in RapidLib is slow. Port FastDTW from Java.The current DTW in RapidLib is slow. Port FastDTW from Java.Michael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/93Minimum number of hidden nodes?2017-08-18T10:53:48ZMichael ZbyszyńskiMinimum number of hidden nodes?I've noticed that a one input neural network isn't very effective. It can't express a very complex curve, since it only has a series of two sigmoid nodes to work with.
Maybe the hidden layer should have a minimum number of nodes?I've noticed that a one input neural network isn't very effective. It can't express a very complex curve, since it only has a series of two sigmoid nodes to work with.
Maybe the hidden layer should have a minimum number of nodes?https://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/92Classification crashed when training with empty data set2017-08-17T14:21:53ZMichael ZbyszyńskiClassification crashed when training with empty data sethttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/86DTW: group examples into "Gesture types"2017-08-25T16:16:54ZMichael ZbyszyńskiDTW: group examples into "Gesture types"Wekinator lets users record multiple examples of a "Gesture Type". The current RapidLib implementation considers each example as a unique type. This matches how DTW works; the algorithm doesn't do any grouping.
Implement Gesture Types s...Wekinator lets users record multiple examples of a "Gesture Type". The current RapidLib implementation considers each example as a unique type. This matches how DTW works; the algorithm doesn't do any grouping.
Implement Gesture Types so RapidLib is more like Wekinator.Michael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/85Downsampling for DTW2017-10-08T08:03:32ZMichael ZbyszyńskiDownsampling for DTWThe DTW in Wekinator does some downsampling. This would be a nice feature to implement in RapidLib.The DTW in Wekinator does some downsampling. This would be a nice feature to implement in RapidLib.Michael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/84train() not clearing properly for classification2017-08-14T13:39:15ZMichael Zbyszyńskitrain() not clearing properly for classificationSee here:
https://live.codecircle.com/d/3NpkuThvqgiGoH4ufSee here:
https://live.codecircle.com/d/3NpkuThvqgiGoH4ufMichael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/83Logistic Regression2017-07-24T20:16:37ZMichael ZbyszyńskiLogistic RegressionByron Becker expressed interest in a logistic regression model.Byron Becker expressed interest in a logistic regression model.https://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/82Expose hidden layers to API2017-09-01T10:12:54ZMichael ZbyszyńskiExpose hidden layers to APIThe neural network algorithm could have more hidden layers, but there's no way to set that right now. The algorithm code hasn't been seriously tested, either.
Add a set() and get() method, and make sure they work.The neural network algorithm could have more hidden layers, but there's no way to set that right now. The algorithm code hasn't been seriously tested, either.
Add a set() and get() method, and make sure they work.Michael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/80SVM not working properly yet2017-09-27T11:31:37ZMichael ZbyszyńskiSVM not working properly yetlibSVM is wrapped, but I've yet to get sensible results out of SVM. It always returns the last class that was added.
This could be a bug in the wrapper code, or it could be a problem with the default parameters. SVM is apparently not so...libSVM is wrapped, but I've yet to get sensible results out of SVM. It always returns the last class that was added.
This could be a bug in the wrapper code, or it could be a problem with the default parameters. SVM is apparently not so great with few examples, so it might take some effort to design a reasonable test suite for it.
But, SVM might not be a good match for RapidLib. Too many confusing parameters, bad with few examples, etc. It might be better to implement Random Forest, rather than sink time into making SVM work.https://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/79Add peak value to rapidStream (max and min)2017-06-19T12:37:38ZMichael ZbyszyńskiAdd peak value to rapidStream (max and min)https://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/78Add getCosts() or something to DTW2017-06-16T14:13:54ZMichael ZbyszyńskiAdd getCosts() or something to DTWUses might want to know how good the matches are.Uses might want to know how good the matches are.Michael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/77Add RMS to RapidStream2017-06-16T13:10:46ZMichael ZbyszyńskiAdd RMS to RapidStreamLike it says, add RMS to rapidStream.Like it says, add RMS to rapidStream.Michael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/76modelSet.cpp missing algorithm include2017-09-01T14:25:09ZLeon FeddenmodelSet.cpp missing algorithm includeOn Linux, on compilation we get an error at line 153 with the find() method.
```cpp
#ifdef __linux__
#include <algorithm>
#endif
```
Perhaps this?On Linux, on compilation we get an error at line 153 with the find() method.
```cpp
#ifdef __linux__
#include <algorithm>
#endif
```
Perhaps this?https://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/75Numeric_limits is not a member of std2017-06-13T11:31:54ZLeon FeddenNumeric_limits is not a member of stdI compiled rapidstream yesterday on Linux and got something along the lines of
```error: ‘numeric_limits’ is not a member of ‘std’```
Which suggests that <limits> is not included in RapidLib/src/rapidStream.h.
Is it worth inclu...I compiled rapidstream yesterday on Linux and got something along the lines of
```error: ‘numeric_limits’ is not a member of ‘std’```
Which suggests that <limits> is not included in RapidLib/src/rapidStream.h.
Is it worth including this?https://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/74nested template argument error - older compilers2017-06-13T11:33:40ZCameron Thomasnested template argument error - older compilerslib/RapidLib/src/neuralNetwork.h:87:47: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<std::vector<double>>> weights;
When not compiling with -std=c++11 gcc will complain.lib/RapidLib/src/neuralNetwork.h:87:47: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<std::vector<double>>> weights;
When not compiling with -std=c++11 gcc will complain.https://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/73Finish JSDocs for rapidStream2017-06-19T12:37:50ZMichael ZbyszyńskiFinish JSDocs for rapidStreamThe individual functions for rapidStream aren't documented yet.The individual functions for rapidStream aren't documented yet.Michael ZbyszyńskiMichael Zbyszyński