Commit Graph

235 Commits

Author SHA1 Message Date
Rifqi D. Panuluh
a0659e7892 feat: chapter 3 figures 2025-10-10 02:33:43 +00:00
Rifqi D. Panuluh
0217abfb88 WIP: checkpoint methodology 2025-10-10 02:25:29 +00:00
Rifqi D. Panuluh
01c2a9d232 feat(latex): Add content for data acquisition, model development, and hyperparameter optimization in methodology chapter 2025-10-06 08:15:32 +00:00
Rifqi D. Panuluh
3258cd2e82 fix(latex): Add SmallCapsFont fallback for pseudocode package that use \textsc in Times New Roman 2025-10-05 11:25:52 +00:00
Rifqi D. Panuluh
9412f0f53f fix(latex): Fix the steps flow to follow common practice and reformat writing style 2025-09-06 04:28:57 +00:00
Rifqi D. Panuluh
d844fb8f66 fix(latex): Update damaged/undamaged figure references and captions for clarity in methodology section and optimize figures with guetzli 2025-09-06 04:26:01 +00:00
Rifqi D. Panuluh
b581b3c755 refactor(latex): Refactor chapter 3 to remove section headers from data analysis and materials files and optimize figures with guetzli 2025-09-06 04:23:31 +00:00
Rifqi D. Panuluh
9fc5da03c1 feat(gitattributes): Add LFS support for JPG, JPEG, and PDF files 2025-09-05 11:01:23 +00:00
Rifqi D. Panuluh
ebb2c0d686 refactor(latex): Refactor chapter 3 2025-09-05 10:57:00 +00:00
Rifqi D. Panuluh
c2f48694c9 Merge branch 'dev' of https://github.com/nuluh/thesis into dev 2025-08-30 00:24:05 +00:00
nuluh
f2d427f0e8 feat(gitattributes): Add LFS filters for SVG and PNG files 2025-08-29 10:49:18 +07:00
nuluh
cf4bdd43cd feat(notebooks): Enhance STFT preview functionality and improve plotting
- Updated `preview_stft` function to accept both DataFrame and list of DataFrames.
- Added support for multiple subplots when a list of DataFrames is provided.
- Improved color mapping and axis labeling in plots.
- Adjusted figure saving options for better output formats.
- Refactored code to reduce redundancy in plotting logic for Sensor A and Sensor B.
- Added predictions using SVM models for processed data.
2025-08-29 10:48:49 +07:00
Rifqi D. Panuluh
7ee6231017 Merge pull request #107 from nuluh/exp/74-exp-cross-dataset-validation
Exp/74 exp cross dataset validation
2025-08-28 12:09:16 +07:00
nuluh
b2bf1b0e31 feat(notebooks): Add type hints for data lists, create preview function for STFT visualization, and save plot for Sensor B. Introduce test section with AU data processing. 2025-08-28 10:39:56 +07:00
nuluh
7a7b2a41af fix(notebooks): update variable names for clarity and add timing evaluation for model predictions on Dataset B 2025-08-28 10:39:55 +07:00
nuluh
3ef656dd28 refactor(notebooks): remove redundant confusion matrix code for Sensor A and update reporting for Sensor B 2025-08-28 10:32:32 +07:00
Rifqi D. Panuluh
18edaaa7c9 refactor(latex): refactor introduction and results chapters to localization directory 2025-08-23 01:55:23 +00:00
nuluh
f45614b6d9 fix(notebooks): update import statement for hann function and add window variable display 2025-08-20 08:03:22 +07:00
nuluh
e2a4c80d49 Merge branch 'feat/103-feat-inference-function' into dev 2025-08-19 06:05:32 +07:00
Damar
d126559920 Merge pull request #105 from nuluh/feature/101-feat-time-elapsed-for-training-and-inference
Feat time elapsed for training and inference
2025-08-18 05:55:36 +07:00
nuluh
855114d633 refactor(notebooks): clean up imports, adjust damage case processing, and improve model training structure
- Removed unnecessary imports (os, pandas, numpy) from the STFT notebook.
- Adjusted the number of damage cases in the multiprocessing pool to correctly reflect the range.
- Updated model training code for Sensor B to ensure consistent naming and structure.
- Cleaned up commented-out code for clarity and maintainability.
2025-08-17 23:39:57 +07:00
nuluh
4a1c0ed83e feat(src): implement inference function with damage probability calculations and visualization
Closes #103
2025-08-17 22:21:17 +07:00
nuluh
274cd60d27 refactor(src): update generate_df_tuples function signature to include type hints for better clarity 2025-08-11 18:49:41 +07:00
nuluh
9f23d82fab fix(src): correct file writing method in process.stft.process_damage_case function to fix incorrect first column name
Closes #104
2025-08-11 13:17:46 +07:00
nuluh
a8288b1426 refactor(src): enhance compute_stft function with type hints, improved documentation by moving column renaming process from process_damage_case to compute_stft 2025-08-11 13:15:48 +07:00
nuluh
860542f3f9 refactor(src): restructure compute_stft function to be pure function and include return parameters and improve clarity 2025-08-10 20:02:45 +07:00
Rifqi D. Panuluh
e2cfd0329f feat(latex): modify \backmatter to change page numbering to roman while preserving frontmatter page count 2025-08-07 22:49:05 +00:00
Rifqi D. Panuluh
e183040c13 fix(latex): add heading to bibliography for inclusion in table of contents 2025-08-07 22:49:05 +00:00
Rifqi D. Panuluh
da5192a315 fix(latex): replace \input with \include and add [titles] options to tocloft package to automatically give \clearpage 2025-08-07 22:49:04 +00:00
Rifqi D. Panuluh
79da2e7bcc fix(chapters): correct capitalization in chapter titles 2025-08-07 22:49:04 +00:00
Rifqi D. Panuluh
5a9cc9eb06 chore(.gitignore): add latex build directory to ignore list 2025-08-07 22:49:04 +00:00
Rifqi D. Panuluh
7a447893cc fix(settings): update LaTeX output directory and use latexmk (xelatex) as default 2025-08-07 22:49:04 +00:00
Rifqi D. Panuluh
432d00b699 fix(settings): correct JSON formatting in VSCode settings 2025-08-07 22:49:04 +00:00
Rifqi D. Panuluh
16c171fb46 latex: Match with Overleaf current work 2025-08-07 22:49:04 +00:00
nuluh
0e28ed6dd0 feat(notebooks): add cross-dataset validation for Sensor A and Sensor B models
Closes #74
2025-07-28 16:41:54 +07:00
nuluh
3e2b153d11 refactor(stft): comment out unused imports and update SVM model loading for consistency 2025-07-28 05:22:24 +07:00
nuluh
3cbef17b0c feat(model_selection): add timing for model training and validation processes 2025-07-28 05:20:10 +07:00
Rifqi D. Panuluh
80d4a66925 Merge pull request #100 from nuluh/feature/99-exp-alternative-undamage-case-data
[EXP] Alterntive Undamage Case Data
2025-07-24 18:09:05 +07:00
nuluh
9b018efc15 refactor(notebooks): update STFT notebook to improve clarity and structure of sensor evaluation sections 2025-07-24 17:00:31 +07:00
nuluh
2fbdeac1eb refactor(test): update import statement to use data_preprocessing module 2025-07-18 19:29:02 +07:00
nuluh
086032c250 refactor(notebooks): clean up to be more readable notebooks 2025-07-18 19:28:43 +07:00
nuluh
f6c71739df refactor(ml): clean up model_selection.py by removing unused code and improving function structure 2025-07-18 19:27:46 +07:00
Rifqi D. Panuluh
2dc915949b chore(.gitignore): add additional LaTeX file types to ignore list 2025-07-17 14:05:59 +00:00
nuluh
18824e05c0 refactor(ml): update inference calls to use new model structure and improve clarity 2025-07-17 00:18:01 +07:00
nuluh
2504157b29 feat(src): replace convert.py to src/data_preprocessing.py and fix some functions prefix parameter 2025-07-02 03:25:18 +07:00
nuluh
5ba628b678 refactor(src): make compute_stft and process_damage_case to be pure function that explicitly need STFT arguments to be passed 2025-07-01 14:32:52 +07:00
nuluh
a93adc8af3 feat(notebooks): minimize stft.ipynb notebooks and add STFT data preview plot.
- Consolidated import statements for pandas and matplotlib.
- Updated STFT plotting for Sensor 1 and Sensor 2 datasets with improved visualization using pcolormesh.
- Enhanced subplot organization for better clarity in visual representation.
- Added titles and adjusted layout for all plots.
2025-06-30 01:36:44 +07:00
nuluh
c2df42cc2b feat(ml): add XGBoost model to inference options and update commented inference calls 2025-06-27 10:35:27 +07:00
nuluh
465ed121f9 feat(notebooks): training model with new alternative undamaged (label 0) data 2025-06-27 10:34:23 +07:00
nuluh
d6975b4817 feat(src): update damage base path and adjust test run logic for damage case processing for undamage case new method 2025-06-27 10:33:54 +07:00