Smart Earth/Sky Monitor
- 3 Devlogs
- 4 Total hours
This is a smart earth and sky monitor which pulls live earthquake data and visualizes it and then tells us predictions for the next earthquake, and if any earthquake is an anomaly.
This is a smart earth and sky monitor which pulls live earthquake data and visualizes it and then tells us predictions for the next earthquake, and if any earthquake is an anomaly.
Today I spent a lot of time reorganizing things. I took my anomaly_detection.py file, and removed it from the scheduler. This was because the scheduler.py file ran this and the ml_models.py time every hour on the hour. So instead I added the anomaly_detection.py file to the ml_models.py, so now it runs that, and then the scheduler runs the models file, which then runs the anomaly detection file, so its all in one complete loop:
every hour: scheduler -> ml models -> anomaly detection
Because of this change I was able to add the anomaly detection (Isolation Forest algorithm) as a feature for all the models I was training: the random forest alg, neural network, and linear regression model.
Wow well today was a lot of work. Today I added some more models to my ml_models.py file, but more importantly I changed the logs on it. Then I serialized the models to the disk. After that I redid the QuickChecks.R file because I realized I was struggling to be able to view each dataset to see what data I was collecting and how I was doing. Then I saved the model performance metrics and was able to view them. A lot of busy work today.
Today I worked on adding a Random Forest Classifier to my list of prediction models being run by this python script to test if I can predict if a earthquake will be over or under 5.0 magnitude.