Visualisation of RNN classification segments in text and classification stability
TODO:
-
- Components
- oscillatory graph
-
- Model server
- flask endpoints
- receive model name
- receive dataset name
- server side events
- file i/o
Notes and discoveries:
- Setup
- Followed setup from scratch: https://medium.freecodecamp.org/part-1-react-app-from-scratch-using-webpack-4-562b1d231e75
- Due to changes in babel, must now specify babel version: https://stackoverflow.com/questions/52067944/cannot-find-module-babel-core/52067984
- Can also add a "--hot" flag to webpack-dev-server for HMR
- Invalid options can mess up the css-loader: webpack-contrib/css-loader#863
- naming of variables returned by mapStateToProps must be consistent with naming inside the components in which the variables are being used
- use react-hot-loader instead of webpack's HMR
- "this" cannot be used to access props inside mapStateToProps unless you pass in ownProps as second parameter in mapStateToProps