This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Flocode Newsletter #062 - Machine Learning for Engineers: When and How Should We Use it? | |
| This script demonstrates a simple application of machine learning (ML) to a | |
| structural engineering problem: predicting the required depth of a steel beam | |
| based on its span and applied uniformly distributed load (UDL). It compares | |
| three ML models (linear, non-linear, and deep non-linear neural networks) | |
| with a traditional calculation based on the bending moment formula. | |
| The key concept is that the ML models are trained on data *derived* from the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| import os | |
| import sys | |
| import traceback | |
| from contextlib import contextmanager | |
| import diart.operators as dops | |
| import numpy as np | |
| import rich | |
| import rx.operators as ops |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.