Skip to content

Commit

Permalink
tested with tensorflow 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-wright committed Mar 5, 2020
1 parent e420f23 commit 02b5c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/examples/14-AnomalyDetection/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ There are two scripts that run Gravity node clusters:
1. **training.sh** -- Runs a publisher node that publishes two parallel streams of floating-point numbers. It also runs a subscriber node that receives those streams and trains an autoencoder to recognize them. Some training configuration parameters are set in Gravity.ini. Run this script first and it will train the model and store the trained model in "model.json" and "model.json.h5" Once the training is complete, stop the nodes with Ctrl-C or by closing the windows.
2. **detect.sh** -- Runs the a publisher node that is configured to change one of the streams (an 'anomoly') after a certain number of samples. The anomoly point is configured by passing a command-line argument to the python node. The subscriber node runs the streams through the autoencoder trained in step 1 and reports the mean squred error. Notice that the MSE is low initiaily because the streams match the training streams. When the anomoly starts, the MSE increases noticably.

This code was last tested with Python 3.6.9 and TensorFlow version 1.14.0
This code was last tested with Python 3.6.9 and TensorFlow version 2.1.0

0 comments on commit 02b5c54

Please sign in to comment.