Next-generation non-linear and collapse prediction pre-trained XGBoost models for short to long period systems.
Project description
XGBoost - $\rho-\mu-T$
Next-generation non-linear and collapse prediction models for short to long period systems via machine learning methods
The machine learning approach: Exterme Gradient Boosting (XGBoost)
Makes predictions for a strength ratio - ductility - period relationships
Key arguments:
- $R$ - strength ratio based on spectral acceleration
- $\rho$ - strength ratio based on average spectral acceleration
- $\mu$ - ductility
- $T$ - period
$$ R=\frac{Sa(T)}{Sa_y} $$
$$ \rho_2=\frac{Sa_{avg,2}(T)}{Sa_y} $$
$$ \rho_3=\frac{Sa_{avg,3}(T)}{Sa_y} $$
where
- $Sa(T)$ stands for spectral acceleration at fundamental period
- $Sa_y$ stands for spectral acceleration at yield
- $Sa_{avg,2}(T)$ stands for average spectral acceleration computed at periods $∈ [0.2T:2T]$
- $Sa_{avg,3}(T)$ stands for average spectral acceleration computed at periods $∈ [0.2T:3T]$
Installation
pip install xgb-rhomut
Example prediction
Example 1: Dynamic strength ratio prediction of non-collapse scenarios at a dynamic ductility level of 3.0:
import xgbrhomut
model = xgbrhomut.XGBPredict(im_type="sa_avg", collapse=False)
prediction = model.make_prediction(
period=1,
damping=0.05,
hardening_ratio=0.02,
ductility=4,
dynamic_ductility=3.0
)
Example 2: Dynamic ductility prediction given a strength ratio of 3.0 (since im_type is "sa_avg", and collapse is False, \rho_2 is being estimated):
import xgbrhomut
model = xgbrhomut.XGBPredict(im_type="sa_avg", collapse=False)
prediction = model.make_prediction(
period=1,
damping=0.05,
hardening_ratio=0.02,
ductility=4,
strength_ratio=3.0
)
prediction:
{
"median": float,
"dispersion": float
}
Other methods
xgbrhomut.r_mu_t.ec8.strength_ratio(mu=3, T=1, Tc=0.5)
Limitations
Limitations in terms of input parameters are:
- $T$ ∈ [0.01, 3.0] seconds
- $\mu$ ∈ [2.0, 8.0]
- $\xi$ ∈ [2.0, 20.0] %
- $a_h$ ∈ [2.0, 7.0] %
- $a_c$ ∈ [-30.0, -100.0] %
- $R$ ∈ [0.5, 10.0]
where
- $T$ stands for period
- $\mu$ stands for ductility
- $\xi$ stands for damping
- $a_h$ stands for hardening ratio
- $a_c$ stands for softening ratio (necessary to compute fracturing ductility, where collapse is assumed)
Predictions made using the non-linear analysis resutls of 7292 unique SDOF systems amounting in total to 26,000,000 observations (collapse + non-collapse).
References
- Shahnazaryan D., O'Reilly J.G., 2023, Next-generation non-linear and collapse prediction models for short to long period systems via machine learning methods, Under Review
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xgb-rhomut-1.3.0.tar.gz
.
File metadata
- Download URL: xgb-rhomut-1.3.0.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dada6feef64b30d68d90965d9b0d5054a212d5d0b42be7e6e3e5858714b1654 |
|
MD5 | 6c8521a2262850328f6fb466beef2f34 |
|
BLAKE2b-256 | e8725aa0a8ab70c68b4ed7ef2b6d9053f62aa51d60cf085cf2f7e6910e870485 |
File details
Details for the file xgb_rhomut-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: xgb_rhomut-1.3.0-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32455630030e1ded45f9208d162483bb1ba278ada2ff4b4a4f34215e39363c56 |
|
MD5 | dca4d0b5ac724246bdf1c52d824428a7 |
|
BLAKE2b-256 | 354c2b07e0a9f15a2cd3fe6468287aa50337f3becf82ac690107ef2b526300e6 |