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

mugdhesh-part3 #15

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
302 changes: 152 additions & 150 deletions .github/Architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,220 +4,222 @@

```
📦 backend
| |- 📂 aws_helpers:
| | |- 📂 dynamo_db_utils:
| | | |- 📜 trainspace_db.py
| | | |- 📜 constants.py : list of helpful constants
| | | |- 📜 userprogress_db.py
| | | |- 📜 DynamoUnitTests.md
| | | |- 📜 dynamo_db_utils.py
| | |- 📜 __init__.py
| |- 📂 ml:
| | |- 📜 ml_model_parser.py
| | |- 📜 __init__.py
| | |- 📜 ml_trainer.py : train a classical machine learning learning model on the dataset
| | |- 📜 ml_model_parser.py
| |- 📂 dl:
| | |- 📜 dl_trainer.py : train a deep learning model on the dataset
| | |- 📜 __init__.py
| | |- 📜 dl_model.py : torch model based on user specifications from drag and drop
| | |- 📜 detection.py
| | |- 📜 dl_model_parser.py : parse the user specified pytorch model
| | |- 📜 dl_eval.py : Evaluation functions for deep learning models in Pytorch (eg: accuracy, loss, etc)
| |- 📂 common:
| | |- 📜 loss_functions.py : loss function enum
| | |- 📜 default_datasets.py : store logic to load in default datasets from scikit-learn
| | |- 📜 dataset.py : read in the dataset through URL or file upload
| | |- 📜 constants.py : list of helpful constants
| | |- 📜 utils.py : utility functions that could be helpful
| | |- 📜 optimizer.py : what optimizer to use (ie: SGD or Adam for now)
| | |- 📜 loss_functions.py : loss function enum
| | |- 📜 kernel.py
| | |- 📜 __init__.py
| | |- 📜 preprocessing.py
| | |- 📜 ai_drive.py
| | |- 📜 kernel.py
| | |- 📜 default_datasets.py : store logic to load in default datasets from scikit-learn
| | |- 📜 utils.py : utility functions that could be helpful
| | |- 📜 constants.py : list of helpful constants
| | |- 📜 email_notifier.py : Endpoint to send email notification of training results via API Gateway + AWS SES
| | |- 📜 optimizer.py : what optimizer to use (ie: SGD or Adam for now)
| |- 📂 dl:
| | |- 📜 dl_eval.py : Evaluation functions for deep learning models in Pytorch (eg: accuracy, loss, etc)
| | |- 📜 dl_model.py : torch model based on user specifications from drag and drop
| | |- 📜 preprocessing.py
| |- 📂 aws_helpers:
| | |- 📂 dynamo_db_utils:
| | | |- 📜 trainspace_db.py
| | | |- 📜 constants.py : list of helpful constants
| | | |- 📜 dynamo_db_utils.py
| | | |- 📜 userprogress_db.py
| | | |- 📜 DynamoUnitTests.md
| | |- 📜 __init__.py
| | |- 📜 dl_trainer.py : train a deep learning model on the dataset
| | |- 📜 dl_model_parser.py : parse the user specified pytorch model
| | |- 📜 detection.py
| |- 📜 app.py : run the backend (entrypoint script)
| |- 📜 poetry.lock
| |- 📜 epoch_times.csv
| |- 📜 __init__.py
| |- 📜 data.csv : data csv file for use in the playground
| |- 📜 middleware.py
| |- 📜 pyproject.toml
| |- 📜 epoch_times.csv
| |- 📜 app.py : run the backend (entrypoint script)
| |- 📜 data.csv : data csv file for use in the playground
```

## Frontend Architecture

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

Binary file added AWSCLIV2.pkg
Binary file not shown.
Loading