Skip to content

Commit

Permalink
Feature 1144 model table (#1169)
Browse files Browse the repository at this point in the history
* added initial files

* add updated user test changes

* initial endpoints + tests

* working initial endpoints

* working updated endpoints

* added delete_all & get_all endpoitns

* add & update model test files

* 🎨 Auto-generated directory tree for repository in Architecture.md

---------

Co-authored-by: MugPand <[email protected]>
  • Loading branch information
MugPand and MugPand authored Apr 26, 2024
1 parent d7db5f3 commit d39a643
Show file tree
Hide file tree
Showing 12 changed files with 890 additions and 148 deletions.
296 changes: 148 additions & 148 deletions .github/Architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,228 +7,228 @@
| |- 📂 training:
| | |- 📂 routes:
| | | |- 📂 tabular:
| | | | |- 📜 schemas.py
| | | | |- 📜 __init__.py
| | | | |- 📜 tabular.py
| | | |- 📂 datasets:
| | | | |- 📂 default:
| | | | | |- 📜 schemas.py
| | | | | |- 📜 __init__.py
| | | | | |- 📜 columns.py
| | | | |- 📜 __init__.py
| | | | |- 📜 schemas.py
| | | |- 📂 image:
| | | | |- 📜 __init__.py
| | | | |- 📜 image.py
| | | | |- 📜 schemas.py
| | | |- 📂 datasets:
| | | | |- 📂 default:
| | | | | |- 📜 columns.py
| | | | | |- 📜 __init__.py
| | | | | |- 📜 schemas.py
| | | | |- 📜 __init__.py
| | | |- 📜 __init__.py
| | | |- 📜 schemas.py
| | |- 📂 middleware:
| | | |- 📜 __init__.py
| | | |- 📜 health_check_middleware.py
| | |- 📂 core:
| | | |- 📜 trainer.py
| | | |- 📜 criterion.py
| | | |- 📜 dl_model.py : torch model based on user specifications from drag and drop
| | | |- 📜 dataset.py : read in the dataset through URL or file upload
| | | |- 📜 __init__.py
| | | |- 📜 authenticator.py
| | | |- 📜 trainer.py
| | | |- 📜 optimizer.py : what optimizer to use (ie: SGD or Adam for now)
| | |- 📂 middleware:
| | | |- 📜 __init__.py
| | | |- 📜 health_check_middleware.py
| | |- 📜 asgi.py
| | |- 📜 settings.py
| | |- 📜 urls.py
| | |- 📜 __init__.py
| | |- 📜 wsgi.py
| | |- 📜 asgi.py
| | |- 📜 urls.py
| |- 📜 README.md
| |- 📜 docker-compose.yml
| |- 📜 docker-compose.prod.yml
| |- 📜 cli.py
| |- 📜 pyproject.toml
| |- 📜 README.md
| |- 📜 poetry.lock
| |- 📜 cli.py
| |- 📜 environment.yml
| |- 📜 Dockerfile.prod
| |- 📜 pytest.ini
| |- 📜 Dockerfile
| |- 📜 manage.py
| |- 📜 pytest.ini
| |- 📜 environment.yml
| |- 📜 docker-compose.prod.yml
| |- 📜 Dockerfile.prod
```

## Frontend Architecture

```
📦 frontend
| |- 📂 layer_docs:
| | |- 📜 Linear.md : Doc for Linear layer
| | |- 📜 Softmax.md : Doc for Softmax layer
| | |- 📜 softmax_equation.png : PNG file of Softmax equation
| | |- 📜 ReLU.md : Doc for ReLU later
| |- 📂 public:
| | |- 📂 images:
| | | |- 📂 wiki_images:
| | | | |- 📜 maxpool2d.gif
| | | | |- 📜 conv2d.gif
| | | | |- 📜 softmax_equation.png : PNG file of Softmax equation
| | | | |- 📜 tanh_equation.png
| | | | |- 📜 dropout_diagram.png
| | | | |- 📜 batchnorm_diagram.png
| | | | |- 📜 tanh_plot.png
| | | | |- 📜 conv2d2.gif
| | | | |- 📜 sigmoid_equation.png
| | | | |- 📜 avgpool_maxpool.gif
| | | |- 📂 learn_mod_images:
| | | | |- 📜 lossExampleEquation.png
| | | | |- 📜 sigmoidactivation.png
| | | | |- 📜 neuralnet.png
| | | | |- 📜 binarystepactivation.png
| | | | |- 📜 lossExample.png
| | | | |- 📜 LeakyReLUactivation.png
| | | | |- 📜 lossExampleTable.png
| | | | |- 📜 tanhactivation.png
| | | | |- 📜 robotImage.jpg
| | | | |- 📜 ReLUactivation.png
| | | | |- 📜 neuron.png
| | | | |- 📜 neuronWithEquation.png
| | | | |- 📜 sigmoidfunction.png
| | | |- 📂 logos:
| | | | |- 📂 dlp_branding:
| | | | | |- 📜 dlp-logo.svg : DLP Logo, duplicate of files in public, but essential as the frontend can't read public
| | | | | |- 📜 dlp-logo.png : DLP Logo, duplicate of files in public, but essential as the frontend can't read public
| | | | |- 📜 google.png
| | | | |- 📜 pytorch-logo.png
| | | | | |- 📜 dlp-logo.svg : DLP Logo, duplicate of files in public, but essential as the frontend can't read public
| | | | |- 📜 dsgt-logo-white-back.png
| | | | |- 📜 python-logo.png
| | | | |- 📜 dsgt-logo-dark.png
| | | | |- 📜 aws-logo.png
| | | | |- 📜 github.png
| | | | |- 📜 google.png
| | | | |- 📜 pandas-logo.png
| | | | |- 📜 react-logo.png
| | | | |- 📜 dsgt-logo-white-back.png
| | | | |- 📜 flask-logo.png
| | | | |- 📜 aws-logo.png
| | | | |- 📜 github.png
| | | | |- 📜 dsgt-logo-dark.png
| | | | |- 📜 dsgt-logo-light.png
| | | | |- 📜 pytorch-logo.png
| | | |- 📂 learn_mod_images:
| | | | |- 📜 neuron.png
| | | | |- 📜 ReLUactivation.png
| | | | |- 📜 LeakyReLUactivation.png
| | | | |- 📜 lossExampleEquation.png
| | | | |- 📜 lossExampleTable.png
| | | | |- 📜 robotImage.jpg
| | | | |- 📜 neuralnet.png
| | | | |- 📜 sigmoidfunction.png
| | | | |- 📜 lossExample.png
| | | | |- 📜 tanhactivation.png
| | | | |- 📜 binarystepactivation.png
| | | | |- 📜 sigmoidactivation.png
| | | | |- 📜 neuronWithEquation.png
| | | |- 📂 wiki_images:
| | | | |- 📜 sigmoid_equation.png
| | | | |- 📜 conv2d.gif
| | | | |- 📜 conv2d2.gif
| | | | |- 📜 avgpool_maxpool.gif
| | | | |- 📜 softmax_equation.png : PNG file of Softmax equation
| | | | |- 📜 dropout_diagram.png
| | | | |- 📜 batchnorm_diagram.png
| | | | |- 📜 maxpool2d.gif
| | | | |- 📜 tanh_equation.png
| | | | |- 📜 tanh_plot.png
| | | |- 📜 demo_video.gif : GIF tutorial of a simple classification training session
| | |- 📜 robots.txt
| | |- 📜 dlp-logo.ico : DLP Logo
| | |- 📜 manifest.json : Default React file for choosing icon based on
| | |- 📜 index.html : Base HTML file that will be initially rendered
| | |- 📜 dlp-logo.ico : DLP Logo
| | |- 📜 robots.txt
| |- 📂 layer_docs:
| | |- 📜 Softmax.md : Doc for Softmax layer
| | |- 📜 Linear.md : Doc for Linear layer
| | |- 📜 softmax_equation.png : PNG file of Softmax equation
| | |- 📜 ReLU.md : Doc for ReLU later
| |- 📂 src:
| | |- 📂 pages:
| | | |- 📂 train:
| | | | |- 📜 [train_space_id].tsx
| | | | |- 📜 index.tsx
| | | |- 📜 dashboard.tsx
| | | |- 📜 learn.tsx
| | | |- 📜 settings.tsx
| | | |- 📜 about.tsx
| | | |- 📜 feedback.tsx
| | | |- 📜 wiki.tsx
| | | |- 📜 forgot.tsx
| | | |- 📜 _document.tsx
| | | |- 📜 LearnContent.tsx
| | | |- 📜 _app.tsx
| | | |- 📜 login.tsx
| | |- 📂 __tests__:
| | | |- 📂 common:
| | | | |- 📂 components:
| | | | | |- 📜 TitleText.test.tsx
| | |- 📂 backend_outputs:
| | | |- 📜 my_deep_learning_model.onnx : Last ONNX file output
| | | |- 📜 model.pkl
| | | |- 📜 model.pt : Last model.pt output
| | |- 📂 common:
| | | |- 📂 utils:
| | | | |- 📜 dateFormat.ts
| | | | |- 📜 dndHelpers.ts
| | | | |- 📜 firebase.ts
| | | |- 📂 components:
| | | | |- 📜 Spacer.tsx
| | | | |- 📜 DlpTooltip.tsx
| | | | |- 📜 TitleText.tsx
| | | | |- 📜 EmailInput.tsx
| | | | |- 📜 HtmlTooltip.tsx
| | | | |- 📜 ClientOnlyPortal.tsx
| | | | |- 📜 Footer.tsx
| | | | |- 📜 NavBarMain.tsx
| | | |- 📂 styles:
| | | | |- 📜 Home.module.css
| | | | |- 📜 globals.css
| | | |- 📂 redux:
| | | | |- 📜 hooks.ts
| | | | |- 📜 store.ts
| | | | |- 📜 train.ts
| | | | |- 📜 backendApi.ts
| | | | |- 📜 userLogin.ts
| | | | |- 📜 train.ts
| | | |- 📂 utils:
| | | | |- 📜 dateFormat.ts
| | | | |- 📜 firebase.ts
| | | | |- 📜 dndHelpers.ts
| | | |- 📂 components:
| | | | |- 📜 EmailInput.tsx
| | | | |- 📜 HtmlTooltip.tsx
| | | | |- 📜 NavBarMain.tsx
| | | | |- 📜 Footer.tsx
| | | | |- 📜 DlpTooltip.tsx
| | | | |- 📜 ClientOnlyPortal.tsx
| | | | |- 📜 Spacer.tsx
| | | | |- 📜 TitleText.tsx
| | |- 📂 features:
| | | |- 📂 LearnMod:
| | | | |- 📜 MCQuestion.tsx
| | | | |- 📜 ModulesSideBar.tsx
| | | | |- 📜 ImageComponent.tsx
| | | | |- 📜 ClassCard.tsx
| | | | |- 📜 FRQuestion.tsx
| | | | |- 📜 Exercise.tsx
| | | | |- 📜 LearningModulesContent.tsx
| | | |- 📂 OpenAi:
| | | | |- 📜 openAiUtils.ts
| | | |- 📂 Dashboard:
| | | | |- 📂 redux:
| | | | | |- 📜 dashboardApi.ts
| | | | |- 📂 components:
| | | | | |- 📜 TrainBarChart.tsx
| | | | | |- 📜 TrainDoughnutChart.tsx
| | | | | |- 📜 TrainDataGrid.tsx
| | | |- 📂 Train:
| | | | |- 📂 redux:
| | | | | |- 📜 trainspaceSlice.ts
| | | | | |- 📜 trainspaceApi.ts
| | | | |- 📂 types:
| | | | | |- 📜 trainTypes.ts
| | | | |- 📂 constants:
| | | | | |- 📜 trainConstants.ts
| | | | |- 📂 components:
| | | | | |- 📜 CreateTrainspace.tsx
| | | | | |- 📜 TrainspaceLayout.tsx
| | | | | |- 📜 DatasetStepLayout.tsx
| | | | |- 📂 features:
| | | | | |- 📂 Image:
| | | | | | |- 📂 constants:
| | | | | | | |- 📜 imageConstants.ts
| | | | | | |- 📂 components:
| | | | | | | |- 📜 ImageTrainspace.tsx
| | | | | | | |- 📜 ImageParametersStep.tsx
| | | | | | | |- 📜 ImageFlow.tsx
| | | | | | | |- 📜 ImageDatasetStep.tsx
| | | | | | | |- 📜 ImageReviewStep.tsx
| | | | | |- 📂 Tabular:
| | | | | | |- 📂 redux:
| | | | | | | |- 📜 imageActions.ts
| | | | | | | |- 📜 imageApi.ts
| | | | | | | |- 📜 tabularActions.ts
| | | | | | | |- 📜 tabularApi.ts
| | | | | | |- 📂 types:
| | | | | | | |- 📜 imageTypes.ts
| | | | | | |- 📜 index.ts
| | | | | |- 📂 Tabular:
| | | | | | | |- 📜 tabularTypes.ts
| | | | | | |- 📂 constants:
| | | | | | | |- 📜 tabularConstants.ts
| | | | | | |- 📂 components:
| | | | | | | |- 📜 TabularDatasetStep.tsx
| | | | | | | |- 📜 TabularReviewStep.tsx
| | | | | | | |- 📜 TabularFlow.tsx
| | | | | | | |- 📜 TabularTrainspace.tsx
| | | | | | | |- 📜 TabularReviewStep.tsx
| | | | | | | |- 📜 TabularParametersStep.tsx
| | | | | | | |- 📜 TabularDatasetStep.tsx
| | | | | | | |- 📜 TabularFlow.tsx
| | | | | | |- 📜 index.ts
| | | | | |- 📂 Image:
| | | | | | |- 📂 redux:
| | | | | | | |- 📜 tabularApi.ts
| | | | | | | |- 📜 tabularActions.ts
| | | | | | | |- 📜 imageApi.ts
| | | | | | | |- 📜 imageActions.ts
| | | | | | |- 📂 types:
| | | | | | | |- 📜 tabularTypes.ts
| | | | | | | |- 📜 imageTypes.ts
| | | | | | |- 📂 constants:
| | | | | | | |- 📜 imageConstants.ts
| | | | | | |- 📂 components:
| | | | | | | |- 📜 ImageReviewStep.tsx
| | | | | | | |- 📜 ImageTrainspace.tsx
| | | | | | | |- 📜 ImageFlow.tsx
| | | | | | | |- 📜 ImageParametersStep.tsx
| | | | | | | |- 📜 ImageDatasetStep.tsx
| | | | | | |- 📜 index.ts
| | | | |- 📂 redux:
| | | | | |- 📜 trainspaceApi.ts
| | | | | |- 📜 trainspaceSlice.ts
| | | | |- 📂 types:
| | | | | |- 📜 trainTypes.ts
| | | | |- 📂 components:
| | | | | |- 📜 CreateTrainspace.tsx
| | | | | |- 📜 DatasetStepLayout.tsx
| | | | | |- 📜 TrainspaceLayout.tsx
| | | |- 📂 Feedback:
| | | | |- 📂 redux:
| | | | | |- 📜 feedbackApi.ts
| | | |- 📂 Dashboard:
| | | | |- 📂 components:
| | | | | |- 📜 TrainDoughnutChart.tsx
| | | | | |- 📜 TrainBarChart.tsx
| | | | | |- 📜 TrainDataGrid.tsx
| | | | |- 📂 redux:
| | | | | |- 📜 dashboardApi.ts
| | | |- 📂 LearnMod:
| | | | |- 📜 FRQuestion.tsx
| | | | |- 📜 MCQuestion.tsx
| | | | |- 📜 LearningModulesContent.tsx
| | | | |- 📜 Exercise.tsx
| | | | |- 📜 ClassCard.tsx
| | | | |- 📜 ImageComponent.tsx
| | | | |- 📜 ModulesSideBar.tsx
| | | |- 📂 OpenAi:
| | | | |- 📜 openAiUtils.ts
| | |- 📂 backend_outputs:
| | | |- 📜 my_deep_learning_model.onnx : Last ONNX file output
| | | |- 📜 model.pkl
| | | |- 📜 model.pt : Last model.pt output
| | |- 📂 __tests__:
| | | |- 📂 common:
| | | | |- 📂 components:
| | | | | |- 📜 TitleText.test.tsx
| | |- 📜 next-env.d.ts
| | |- 📂 pages:
| | | |- 📂 train:
| | | | |- 📜 [train_space_id].tsx
| | | | |- 📜 index.tsx
| | | |- 📜 _app.tsx
| | | |- 📜 forgot.tsx
| | | |- 📜 about.tsx
| | | |- 📜 settings.tsx
| | | |- 📜 _document.tsx
| | | |- 📜 feedback.tsx
| | | |- 📜 dashboard.tsx
| | | |- 📜 learn.tsx
| | | |- 📜 LearnContent.tsx
| | | |- 📜 login.tsx
| | | |- 📜 wiki.tsx
| | |- 📜 constants.ts
| | |- 📜 iris.csv : Sample CSV data
| | |- 📜 GlobalStyle.ts
| | |- 📜 constants.ts
| |- 📜 next-env.d.ts
| |- 📜 .eslintignore
| |- 📜 jest.config.ts
| | |- 📜 next-env.d.ts
| |- 📜 pnpm-lock.yaml
| |- 📜 .eslintrc.json
| |- 📜 next.config.js
| |- 📜 tsconfig.json
| |- 📜 package.json
| |- 📜 .eslintrc.json
| |- 📜 next.config.js
| |- 📜 next-env.d.ts
| |- 📜 jest.config.ts
| |- 📜 .eslintignore
```

Loading

0 comments on commit d39a643

Please sign in to comment.