Week 4
ToDo
September 29, 2023
Reproduce Vannary's latest results. Verify it runs end-to-end.
- Changes to the 2nd notebook are grouped together to the notebook section,
Add X,Y long and lat - Confirmed the output CSV is identical. The order of the output labels were different. Hence, I added
sortin my code to have consistent results. - Ran the cleaned up training nb. It is currently being run. It seems to search across different combinations of hyper-parameters of each of the different model types.
- Changes to the 2nd notebook are grouped together to the notebook section,
I checked Vannary's 3rd notebook in colab and it has new updates. And according to Vannary's email she will develop this further based on the Monday's meeting with Dr. Lence.
- If we want to discard all other models except
lightGBM, I can modify the latest nb for that purpose. The olderlightGBMonly training notebook vs. thelightGBMtraining in the latest have few known changes in the input features. There might be more differences too.
- If we want to discard all other models except
Document the Vannary's replies on the emails thread on the weighted losses.
- Find them here
September 28, 2023
- AI3 meeting with Jian and post-meeting discussion.
- The cumulative notes and the suggestions that arose in the discussion will be published to AI3 Action Items and Q&A pages.
- I will review them and add any missing pieces once published.
September 27, 2023
Refactoring my daily notes to,
- Moved todo's related to projects to
Action Itemspages under projects rather than my notes. Check thetodos above.
- Moved todo's related to projects to
Documenting Vannary's latest replies on
CCTVand creating action items based on that.Install QGIS in my local computer
- Dowloaded the QGIS 3.32.3 installer from https://www.qgis.org/en/site/forusers/download.html
- Checked with Jake to see if there are other configurations that is needed to use QGIS.
- Compared the shape files from Vananry's saved data vs. the files generated by the version I've cleaned.
- However, Vannary had shared a new notebook on training. Need to do the same experiment with that after a cleanup.
Modifying and running the new training notebook for CCTV which Vannary shared for defect predictions. It includes
binary Random Forest classification/xgboost/lightgbm/catboosttrainers. I'm working ongqc-utility-notebooksrepo in my local WSL.This notebook does not write back to shape files.
List of issues that needed to be fixed:
outdated functions from a previous version of
scikit-learnpython library. Instead of changing the code to use the modified api from the updated library, I opted to downgrade the library version to match withcolabto avoid divergence in the code.There are
pklfiles containing the model parameters which are loaded from hard-coded paths inside functions. https://drive.google.com/drive/u/0/folders/1-FxAPvJhCmVO_7W_yzdhvhMDqGHTbUW4
Made a copy locally and modified the functions to point to the pkl directory. Path is loaded through a GLOBAL variable now.Expects additional features for training. These columns were not exported from the
training data preparationnotebook version we have.- Diff between the
training csvcolumn headers that were used in the latest training script vs. the local version I have.
- Based on this I checked the Vananry's colab notebook
training data preparation, it has been updated after we made a copy.
- As Vannary's colab notebook development is still an ongoing process, these same issues will continue to come into play. We need to decide how to go about this
- Diff between the