hcs-t4sg / t4sg-zest.ai

7 stars 1 forks source link

Chris/refactor create utils #35

Closed chrisong88 closed 3 years ago

chrisong88 commented 3 years ago

NOTE: don't check this pull request until chris/api-refactor is merged. Because this branch is built off of that branch. (We might have to rebase; I'm not entirely sure)

Moved most helper functions to a utils/ folder. Could not move zrp_feature_engineering because it creates errors when loading the pickle file. I think that the pickle file has its own import statements encoded and expects the helper functions to be in specific locations. Need to check with Rakesh.

Potential issue to flag: I'm not entirely sure if I set up the absolute imports of the helper modules properly. I defined the absolute import paths in the context of src/ being the root directory of the app (because that's where app.py runs from).