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

Lucas part2 #7

Closed
wants to merge 6 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
324 changes: 162 additions & 162 deletions .github/Architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,220 +4,220 @@

```
📦 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
| |- 📂 common:
| | |- 📜 loss_functions.py : loss function enum
| | |- 📜 optimizer.py : what optimizer to use (ie: SGD or Adam for now)
| | |- 📜 ai_drive.py
| | |- 📜 preprocessing.py
| | |- 📜 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
| | |- 📜 email_notifier.py : Endpoint to send email notification of training results via API Gateway + AWS SES
| | |- 📜 utils.py : utility functions that could be helpful
| | |- 📜 constants.py : list of helpful constants
| | |- 📜 __init__.py
| | |- 📜 preprocessing.py
| | |- 📜 ai_drive.py
| | |- 📜 kernel.py
| | |- 📜 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)
| | |- 📜 loss_functions.py : loss function enum
| |- 📂 ml:
| | |- 📜 ml_trainer.py : train a classical machine learning learning model on the dataset
| | |- 📜 __init__.py
| | |- 📜 ml_model_parser.py
| |- 📂 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
| | |- 📜 __init__.py
| | |- 📜 dl_eval.py : Evaluation functions for deep learning models in Pytorch (eg: accuracy, loss, etc)
| | |- 📜 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)
| | |- 📜 __init__.py
| | |- 📜 dl_model_parser.py : parse the user specified pytorch model
| |- 📂 aws_helpers:
| | |- 📂 dynamo_db_utils:
| | | |- 📜 trainspace_db.py
| | | |- 📜 DynamoUnitTests.md
| | | |- 📜 constants.py : list of helpful constants
| | | |- 📜 dynamo_db_utils.py
| | | |- 📜 userprogress_db.py
| | |- 📜 __init__.py
| |- 📜 middleware.py
| |- 📜 poetry.lock
| |- 📜 epoch_times.csv
| |- 📜 __init__.py
| |- 📜 data.csv : data csv file for use in the playground
| |- 📜 middleware.py
| |- 📜 pyproject.toml
| |- 📜 data.csv : data csv file for use in the playground
| |- 📜 __init__.py
| |- 📜 app.py : run the backend (entrypoint script)
```

## Frontend Architecture

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

Loading