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
Metadata
Release files for xgb-rhomut 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| xgb-rhomut-1.3.0.tar.gz | 1.3 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xgb_rhomut-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.5 MB
Release files / xgb-rhomut-1.3.0.tar.gz
| Download URL | xgb-rhomut-1.3.0.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5dada6feef64b30d68d90965d9b0d5054a212d5d0b42be7e6e3e5858714b1654
|
|
BLAKE2b-256 checksum How to use checksums |
e8725aa0a8ab70c68b4ed7ef2b6d9053f62aa51d60cf085cf2f7e6910e870485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|
Release files / xgb_rhomut-1.3.0-py3-none-any.whl
| Download URL | xgb_rhomut-1.3.0-py3-none-any.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32455630030e1ded45f9208d162483bb1ba278ada2ff4b4a4f34215e39363c56
|
|
BLAKE2b-256 checksum How to use checksums |
354c2b07e0a9f15a2cd3fe6468287aa50337f3becf82ac690107ef2b526300e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|
Security for xgb-rhomut 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.