Universal Timber Slab: Disciplinary Surrogate Models
收藏DataCite Commons2026-03-20 更新2026-05-07 收录
下载链接:
https://darus.uni-stuttgart.de/citation?persistentId=doi:10.18419/DARUS-5801
下载链接
链接失效反馈官方服务:
资源简介:
<p>This dataset contains <strong>9 trained surrogate models</strong> across all four disciplines predicting the performance of UTS bay elements and a demo Python script.</p>
<h2>Model Artifacts</h2>
<p>Each surrogate is saved as a <code>.joblib</code> file which stores:</p>
<pre><code class="language-python">{
'model': &lt;trained sklearn model&gt;, # Trained model
'scaler': &lt;StandardScaler or None&gt;, # Feature scaler
'feature_names': List[str], # 31 feature names
'model_name': str, # e.g., 'Extra Trees'
'target': str, # Target variable
'discipline': str, # Discipline
'metrics': {
'test_r2': float,
'test_rmse': float,
'test_mae': float,
}
}
</code></pre>
<h2>Demo Python script</h2>
<p>The Python script <code>predict_bays.py</code> demonstrates how to extract the relevant features from the UTS BHoM data schema and use the trained models to predict the performance of each bay in a slab.</p>
<p>To run the CLI script, (<code>cd</code>) to the directory containing
<code>predict_bays.py</code>. By default, the trained models should be located in a <code>models</code> subdirectory within this directory. Alternatively, a custom
models directory can be specified using the <code>--models-dir</code> option.
</p>
<p>These standard scientific Python packages are required:</p>
<pre><code>pip install numpy pandas scikit-learn joblib</code></pre>
<p>The script can be run with multiple options:</p>
<pre><code>python predict_bays.py # default input
python predict_bays.py path/to/my_slab.json # custom input
python predict_bays.py input.json --format json # JSON output
python predict_bays.py input.json --bay 3 # single bay
python predict_bays.py input.json --live-load 3.0 # override defaults
python predict_bays.py input.json --models-dir ./models # custom models dir
</code></pre>
提供机构:
DaRUS
创建时间:
2026-03-18



