You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For nodejs version below 10 use 1.x versions of this library.
31
23
32
24
## Webpack
33
25
@@ -44,17 +36,47 @@ module.exports = {
44
36
45
37
## Browser
46
38
47
-
For browser install using bower or npm, but it is necessary to include the babel-polyfill otherwise you will get an error. For example see [index.html](https://github.com/anandanand84/technicalindicators/blob/master/index.html"index.html")
For ES5 support it is necessary to include the babel-polyfill and respective file browser.js otherwise you will get an error. For example see [index.html](https://github.com/anandanand84/technicalindicators/blob/master/index.html"index.html")
If using pattern detection it is necessary to include the tensorflowjs library before this library is loaded and the model files present in tf_model dir in this repository should be accessible at location /tf_model/ in server.
All indicators will be available in window object. So you can just use
@@ -140,7 +162,7 @@ Finds pattern in the given set of data, patterns include, DB, DT, HS, IHS, TU, T
140
162
```
141
163
142
164
143
-
When running in browser the file model.bin present in dist/model.bin in the respository should be accessible on your server at the location at /dist/model.bin.
165
+
When running in browser the dir /tf_model/ present in this respository should be accessible on your server at the location at /tf_model/.
144
166
The model is trained using 400 count of values, so try to provide values close to 400 for a reliable prediction of DB, DT, HS, IHS
145
167
TD(Trending Down) and TU(Trending up) works fine even with lower values.
0 commit comments