https://github.com/bin-cao/tclrmodel
[JMI 2022] TCLR is a tree model for distinguish the mechanisms of data | document https://tclr.netlify.app/
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 11 DOI reference(s) in README -
✓Academic publication links
Links to: scholar.google -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.4%) to scientific vocabulary
Keywords
Repository
[JMI 2022] TCLR is a tree model for distinguish the mechanisms of data | document https://tclr.netlify.app/
Basic Info
Statistics
- Stars: 19
- Watchers: 4
- Forks: 5
- Open Issues: 0
- Releases: 1
Topics
Metadata Files
README.md
🤝🤝🤝 Please star ⭐️ it for promoting open source projects 🌍 ! Thanks !
if you have any questions or need help, you are welcome to contact me
Source code :
user count
If you are using this code, please cite:
Cao B, Yang S, Sun A, Dong Z, Zhang TY. Domain knowledge-guided interpretive machine learning: formula discovery for the oxidation behavior of ferritic-martensitic steels in supercritical water. J Mater Inf 2022;2:4. http://dx.doi.org/10.20517/jmi.2022.04
TCLR

Package Document / 手册
see 📒 TCLR (Click to view)
see 📝 微信推文 (Click to view)
By incorporating the TCLR into a thermodynamic kinetic framework, it becomes possible to accurately predict the rates of chemical reactions as a function of temperature, pressure, and other system variables. This can be useful in a variety of fields, including materials science, chemical engineering, and biochemistry, where accurate modeling of reaction rates is essential for the design and optimization of chemical processes.
TCLR算法通过提供的数据集得到研究变量和时间指数等物理变量之间的显示公式,适用于腐蚀、蠕变等满足动力学或者热力学的物理过程。通过最大化激活能和最小化时间指数可以高效地设计具有高耐腐蚀等优异性能的合金。附有安装说明(用户手册)和运行模版(例子)。

Reference :
+ (JMI) Cao et al., Doi : http://dx.doi.org/10.20517/jmi.2022.04
+ (JMST) Wei et al., Doi : https://doi.org/10.1016/j.jmst.2022.11.040
The explicit formula we proposed in the paper
``` javascript import numpy as np
def FMO_formular(Cr, T=673.15, t = 600, DOC = 10):
"""
Cao B, Yang S, Sun A, Dong Z, Zhang TY.
Domain knowledge-guided interpretive machine learning:
formula discovery for the oxidation behavior of ferritic-martensitic
steels in supercritical water. J Mater Inf 2022;2:4.
http://dx.doi.org/10.20517/jmi.2022.04
input:
Cr : oxidation chromium equivalent concentration (wt.%), 10.38 <= Cr <= 30.319
Cr(wt.%) = [Cr](wt.%) + 40.3[V](wt.%) + 2.3[Si](wt.%) + 10.7[Ni](wt.%) − 1.5[Mn](wt.%)
T : Absolute temperature (K), 673.15 <= T <= 923.15
t : Exposure time (h), 30 <= t <= 2000
DOC : Dissolved oxygen concentration (ppb), 0 <= DOC <= 8000
output:
the logarithm of weight gain (mg / dm2)
"""
# Eq.(6c) in paper
pre_factor = 0.084*(Cr**3/(T-DOC) - np.sqrt(T+DOC)) + 0.98*(Cr-DOC/T) / np.log(Cr+DOC)+8.543
# Eq.(5a) in paper
Q = 0.084*(Cr**2-Cr+DOC) / np.exp(DOC/T) + 45.09
# Eq.(5b) in paper
m = 0.323 - 0.061 * np.exp(DOC/T) / (Cr - np.sqrt(Cr) - DOC)
ln_wg = pre_factor + np.log(DOC+2.17) - Q * 1000 / 8.314 / T + m*np.log(t)
return ln_wg
```
Installing / 安装
pip install TCLR
Checking / 查看
pip show TCLR
Updating / 更新
pip install --upgrade TCLR
Running / 运行
see Template
``` javascript
coding=utf-8
from TCLR import TCLRalgorithm as model
dataSet = "testdata.csv" correlation = 'PearsonR(+)' minsize = 3 threshold = 0.9 mininc = 0.01 split_tol = 0.8
model.start(filePath = dataSet, correlation = correlation, minsize = minsize, threshold = threshold, mininc = mininc ,splittol = splittol,)
```
Update log / 日志
TCLR V1.1 April, 2022. debug and print out the slopes when Pearson is used
TCLR V1.2 May, 2022. Save the dataset of each leaf
TCLR V1.3 Jun, 2022. Para: minsize - Minimum unique values for linear features of data on each leaf (Minimum number of data on each leaf before V1.3)
TCLR V1.4 Jun, 2022. + Integrated symbolic regression algorithm of gplearn package. Derive an analytical formula between features and solpes by gplearn + add a new parameter of tolerance_list
TCLR V1.5 Aug, 2022. + add a new parameter of gpl_dummyfea
TCLR Apr, 2023. + user documentation + web interface
About / 更多
Maintained by Bin Cao. Please feel free to open issues in the Github or contact Bin Cao (bcao686@connect.hkust-gz.edu.cn) in case of any problems/comments/suggestions in using the code.
Contributing / 共建
Contribution and suggestions are always welcome. In addition, we are also looking for research collaborations. You can submit issues for suggestions, questions, bugs, and feature requests, or submit pull requests to contribute directly. You can also contact the authors for research collaboration.
Owner
- Name: 曹斌 | Bin CAO
- Login: Bin-Cao
- Kind: user
- Location: Shanghai
- Company: Shanghai University
- Repositories: 5
- Profile: https://github.com/Bin-Cao
Machine learning | Materials Informatics|Mechanics
GitHub Events
Total
- Watch event: 1
- Push event: 1
Last Year
- Watch event: 1
- Push event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 60
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 1
(may contain duplicates) - Total versions: 27
- Total maintainers: 1
pypi.org: tclr
Tree-Classifier for Linear Regression (TCLR) is a novel tree model to capture the functional relationships between features and a target based on correlation.
- Homepage: https://github.com/Bin-Cao/TCLRmodel
- Documentation: https://tclr.readthedocs.io/
- License: MIT License
-
Latest release: 2.0.4
published about 2 years ago
Rankings
Maintainers (1)
pypi.org: hello1
Tree-Classifier for Linear Regression (TCLR) is a novel tree model to capture the functional relationships between features and a target based on correlation.
- Homepage: https://github.com/Bin-Cao/TCLRmodel
- Documentation: https://hello1.readthedocs.io/
- License: MIT License
-
Latest release: 1.0
published over 3 years ago