Comments (4)
👋🏻 @yorkiva Thank you for your comment. The Condition
class is used to define the condition to apply (e.g. function) and where to apply it (e.g. location). The L2 regulariser on the weights can be accomplished by setting the regularizer
parameter in the PINN
class.
Eventually, I agree with you that a class Loss
should be implemented, to enable the user to be more flexible. We will release soon a beta version of the software where we plan to introduce these features, but for mantainability we can not merge these features on the current version.
from pina.
Hello @yorkiva :)
Just wanted to let you know that in the beta version we will soon release the possibility to add a custom loss for the PINN (#105), and other very cool features such as gradient clipping, batch gradient accumulation, ... since we will use lightining Trainer
module in backhand to train the PINN .
Thank you for the very useful feedbacks 😄
from pina.
Has this been resolved?
from pina.
The regularizer in the PINN class only implements the L2 regularization. It should also be extended to incorporate L1 regularization. I have had some experience with comparing these regularizations and I have found that for some problems L1 regularization can be quite useful when the training data (i.e. boundary/initial condition) is noisy.
Since the authors mention that a general functionality for regularization would be added in the upcoming release, this issue can be closed for now.
from pina.
Related Issues (20)
- loss plotting fails when using gpu training HOT 1
- PINN for temperature prediction with external disturbances ; timedependent problen HOT 4
- How to debug an equation HOT 4
- Black Formatter bot does not trigger the PR testing action
- Little sparse grammar corrections of comments - tutorials HOT 2
- Saving the trained model and used it in other code HOT 2
- How to evaluate the trained neural network on custom points HOT 5
- Implementing flux boundary condition
- Not able to solve simple PDE with flux condition HOT 4
- Tutorial for Equations Class HOT 2
- None
- Using custom arguments in boundary condition HOT 2
- Adaptive Activations Functions
- TimeDependentProblem, SpatialProblem, ParametricProblem HOT 2
- Tried using spatial, time and parametric domain HOT 3
- Solver Compilation HOT 1
- Tests and Monthly Automated Tag HOT 1
- Unkown parameters in InverseProblem can't go on device HOT 3
- Large-scale experiment HOT 2
- Benchmarks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pina.