Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

92 training pipeline #187

Merged
Merged
Show file tree
Hide file tree
Changes from 71 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
9bb9d46
added GMMHMM implementation
jogong2718 Oct 15, 2024
1ee4e52
adjusted na filtering
jogong2718 Oct 17, 2024
7c70ea1
fetched
jogong2718 Oct 18, 2024
7b15ebd
tried diff data processing didnt do anything
jogong2718 Oct 18, 2024
1961086
Merge branch 'main' of https://github.com/RobotPsychologist/bg_control
jogong2718 Oct 19, 2024
89a8e1c
implemented OHE for labels to no avail
jogong2718 Oct 22, 2024
9874688
deleted unneeded prints
jogong2718 Oct 22, 2024
973858b
Applied gaussian smoothing to unsupervised test
NathanL15 Nov 6, 2024
081b649
refactor code structure for improved readability and maintainability
jogong2718 Nov 6, 2024
2a0752d
refactor data processing pipeline for enhanced performance
jogong2718 Nov 6, 2024
c5f57a6
Merge branch 'main' of https://github.com/jogong2718/bg_control; bran…
jogong2718 Nov 6, 2024
0933137
refactor error handling in data processing for better reliability
jogong2718 Nov 13, 2024
c1f0046
enhance data processing efficiency through optimized algorithms
jogong2718 Nov 13, 2024
7b6b2ae
Merge branch 'main' of https://github.com/jogong2718/bg_control; bran…
jogong2718 Nov 14, 2024
2fb4e78
Merge branch 'main' of https://github.com/jogong2718/bg_control
jogong2718 Nov 16, 2024
814d3ce
Add model training function and update VSCode settings
jogong2718 Nov 20, 2024
41ec240
added model instances
jogong2718 Nov 20, 2024
b14da34
added more models, refactored fittin code, added base metrics provide…
jogong2718 Nov 20, 2024
0fe4ca9
Refactor training script to use root mean squared error and replace p…
jogong2718 Nov 20, 2024
d4bbdc6
Merge branch 'main' of https://github.com/RobotPsychologist/bg_contro…
jogong2718 Nov 21, 2024
2f32fad
Fix formatting in train.py for improved readability
jogong2718 Nov 21, 2024
a82dd0d
Added transformer methods and xy split
NathanL15 Nov 21, 2024
a1bd239
Enhance training script to support CSV input for data and labels, add…
jogong2718 Nov 21, 2024
8350087
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 21, 2024
dea4a35
remve library
jogong2718 Nov 24, 2024
bb3025f
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 24, 2024
bfc74d2
implemented correct metrics and updated transformer implementation fu…
jogong2718 Nov 24, 2024
09fb5fb
Added load and save model using joblib library
NathanL15 Nov 24, 2024
d5c8881
Added helper function to load data into a csv and renamed data path p…
NathanL15 Nov 24, 2024
7cdca08
refactor loading and saving functions
jogong2718 Nov 24, 2024
e9c0246
Merge branch 'main' of https://github.com/RobotPsychologist/bg_contro…
jogong2718 Nov 24, 2024
7d28ff0
added the rest of the models
jogong2718 Nov 24, 2024
590da1d
refactor model loading and saving functions; update paths and metrics…
jogong2718 Nov 27, 2024
bf5c34e
refactor model saving and loading; switch to mlflow_sktime for model …
jogong2718 Nov 27, 2024
1514f84
Merge branch 'main' of https://github.com/RobotPsychologist/bg_contro…
jogong2718 Nov 27, 2024
184dc0e
refactored file paths
jogong2718 Nov 27, 2024
1f8e64c
commented out tests
jogong2718 Nov 27, 2024
4d35972
added additional comments for training function arguments
jogong2718 Nov 27, 2024
12083b9
squash
jogong2718 Nov 27, 2024
3330f16
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 27, 2024
224d0d6
uncommented dotenv
jogong2718 Nov 27, 2024
5db1541
implemented training pipeline
jogong2718 Nov 27, 2024
d88b5c5
readded notebooks because they were corrupted for some reason
jogong2718 Nov 27, 2024
b2c79ea
Merge branch '92-training-pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 27, 2024
8ea9414
Merge branch '92-training-pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 27, 2024
2e11e87
troubleshoot commit
NathanL15 Nov 27, 2024
42b438c
sample test template
NathanL15 Nov 27, 2024
8893ccb
test runline
NathanL15 Nov 27, 2024
7a7a209
unittest (still have import config error
NathanL15 Nov 27, 2024
4995126
refactored train script functions and updated test path
jogong2718 Nov 27, 2024
0e931c9
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 27, 2024
10afb07
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 27, 2024
5b0e1d4
refactored funcitons in train
jogong2718 Nov 27, 2024
8a73e06
initialize meal identification module
jogong2718 Nov 27, 2024
89b6608
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 27, 2024
87f5ace
changed unit test path
jogong2718 Nov 27, 2024
0a3bbfc
Unittest
NathanL15 Nov 27, 2024
35fa728
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
NathanL15 Nov 27, 2024
c36eae7
Add training for multiple models and update unit test path
jogong2718 Nov 27, 2024
0b22873
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 27, 2024
5f32ebd
changed tests to test shape of data
jogong2718 Nov 28, 2024
f44ff4f
Commit
NathanL15 Nov 28, 2024
c86b95e
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
NathanL15 Nov 28, 2024
42964b9
defined a unittest class and fixed some of the tests as well as savin…
jogong2718 Nov 28, 2024
77270eb
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 28, 2024
38d2021
Merge branch 'main' of https://github.com/RobotPsychologist/bg_contro…
jogong2718 Nov 28, 2024
5f05e8f
Merge branch '92_training_pipeline' of https://github.com/jogong2718/…
jogong2718 Nov 28, 2024
3b9b6ba
feat: add GMMHMM model and update test paths
jogong2718 Nov 28, 2024
1fdf065
update tests and environment files with tonys changes. Revert the not…
jogong2718 Nov 29, 2024
9976e8c
Merge branch '92_training_pipeline' into 92-training-pipeline
jogong2718 Nov 29, 2024
f8e4e45
fix: remove unnecessary attachments from GMMHMM implementation notebook
jogong2718 Nov 29, 2024
7ee9e64
fix: remove init
jogong2718 Nov 29, 2024
e9b27c1
removed wrong init
jogong2718 Nov 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"."
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
"python.testing.pytestEnabled": true,
"githubPullRequests.ignoredPullRequestBranches": [
"main"
]
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This init will cause some problems. Is there a reason why this is included?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove it. Im not sure why it was added I think it was to try and fix the module import issue but that didnt help.

Empty file.
3 changes: 2 additions & 1 deletion 0_meal_identification/meal_identification/environment-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ dependencies:
- sktime
- numba
- pydantic
- python-dotenv
- pip:
- python-dotenv
- skchange
- pyyaml
- ruamel.yaml
- loguru
3 changes: 2 additions & 1 deletion 0_meal_identification/meal_identification/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ dependencies:
- pydantic
- pytest
- pytest-mock
- python-dotenv
- pip:
- python-dotenv
- loguru
- mkdocs
- skchange
- ipynb
Expand Down
Loading
Loading