Commit 47c3366
New dataset api (#61)
* Reworking dataset; now supports loading 1D 1 out numerical and analytical.
* Moved loading into separate function.
* Extra checks in notebook
* Simplified API to use a function which returns data and grid.
* Updated with black.
* Proposed new structure for the dataset, with examples
* Did a black lint
* Refactored for use with dataloader
* Created a Loader for datasets that fit in GPU
* Small refactor
* Updated to a functional version of Dataset
* Created one loss to replace 3 seperate losses
* Renamed the data function to reflect they are fun
* Updated subsamplers
* Tried adding the new features to the examples
* Added the notebook
* Added black newline
* Updated the dataloader
* Updated the notebooks to the new api style
* Update the 2D AD example
* Added better support for dimensionful data
* Updated notebooks
* Changed the training loop
* Updated to correctly take MSE_test per feature
* subsampling along axis
* Added dimension to the data functions
* Updated docstrings and added better checks
* removed print
* Updated the notebooks to the newest version
* Removed the legacy datasets
* Updated the documentation
* Updated the notebooks
* Fixed some black whitespace shenanigans
* Remove test notebook
* Fixed the figure in the documentation.
* Delete Dataset.ipynb
This file is not needed.
* Update examples.py
Updated the function name.
Co-authored-by: Gert-Jan <gertjanboth@gmail.com>
Co-authored-by: Remy Kusters <kusters.remy@gmail.com>1 parent 07934e0 commit 47c3366
22 files changed
Lines changed: 1036 additions & 908 deletions
File tree
- docs
- datasets
- figures
- examples
- src/deepymod
- data
- burgers
- diffusion
- kdv
- model
- training
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
Loading
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments