Knowledge Based Neural Networks
Version 1.0.6 (4.96 KB) by
Nick Pepper
Demonstration code for a Knowledge Based Neural Network (KBaNN), a bi-fidelity machine learning architecture
Knowledge Based Neural Networks are a bi-fidelity machine learning architecture that allow the outputs of a coarse scale model, , to be augmented by the predictions of a neural network. Having been trained using a dataset comprising outputs of a high-fidelity model, Fe(x), the KBaNN corrects the outputs of the coarse model to emulate the output of . The architecture is based on the KBaNN proposed in Wang et al (1997) but adapted for bi-fidelity modelling. The formalism has also been modified to produce an additive rather than multiplicative correction to . It also now incorporates regularisation.
The KBaNN formulation attempots to leverage the flexibility and scalability of neural networks, while addressing the criticism that they are data-driven black boxes by incorporating the coarse model.
The attached code demonstrates the KBaNN architecture for the Forrester problem. The main file is "forrester_test_main".
Please do provide us with feedback on the code, we are happy to engage to improve it!
Mathematical details may be found in Pepper, Gaymann, Montomoli, and Sharma, "Local bi-fidelity field approximation with Knowledge Based Neural Networks for Computational Fluid Dynamics" (2021). DoI: https://www.nature.com/articles/s41598-021-93280-y#additional-information
Cite As
Nick Pepper (2024). Knowledge Based Neural Networks (https://www.mathworks.com/matlabcentral/fileexchange/93675-knowledge-based-neural-networks), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2019b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.6 | Added link to paper and updated paper name in description |
||
1.0.5 | Updated description |
||
1.0.4 | Changed name of main file |
||
1.0.3 | Updated description |
||
1.0.2 | Updated image |
||
1.0.1 | Updated commenting in subroutines |
||
1.0.0 |