Skip to main content

Tree-Classifier for Linear Regression (TCLR) is a novel tree model to capture the functional relationships between features and a target based on correlation.

Project description

## TCLR, Version 1, October, 2021.

Tree-Classifier for Linear Regression (TCLR) is a novel Machine learning model to capture the functional relationships between features and a target based on correlation.

TCLR算法通过提供的数据集得到研究变量和时间指数等物理变量之间的显示公式,适用于腐蚀、蠕变等满足动力学或者热力学的物理过程。通过最大化激活能和最小化时间指数可以高效地设计具有高耐腐蚀等优异性能的合金。最新版本V1.4,附有安装说明(用户手册)和运行模版(例子)。

Reference paper : Cao B, Yang S, Sun A, Dong Z, Zhang TY. Domain knowledge-guided interpretive machine learning - formula discovery for the oxidation behaviour of ferritic-martensitic steels in supercritical water. J Mater Inf 2022.

Doi : http://dx.doi.org/10.20517/jmi.2022.04

Written using Python, which is suitable for operating systems, e.g., Windows/Linux/MAC OS etc.

## Installing / 安装

pip install TCLR

## Updating / 更新

pip install –upgrade TCLR

## Running / 运行 ### Ref. https://github.com/Bin-Cao/TCLRmodel/tree/main/Source%20Code

output 运行结果: + classification structure tree in pdf format(Result of TCLR.pdf) 图形结果 + a folder called ‘Segmented’ for saving the subdataset of each leaf (passed test) 数据文件

note 注释:

the complete execution template can be downloaded at the Example folder 算法运行模版可在 Example 文件夹下载

graphviz (recommended installation) package is needed for generating the graphical results, which can be downloaded from the official website http://www.graphviz.org/. see user guide.(推荐安装)用于生成TCLR的图形化结果, 下载地址: http://www.graphviz.org/.

## 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, see document

TCLR V1.5 Aug, 2022. + add a new parameter of gpl_dummyfea, see document

## About / 更多 Maintained by Bin Cao. Please feel free to open issues in the Github or contact Bin Cao (bcao@shu.edu.cn) in case of any problems/comments/suggestions in using the code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TCLR-2.0.4.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

TCLR-2.0.4-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file TCLR-2.0.4.tar.gz.

File metadata

  • Download URL: TCLR-2.0.4.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for TCLR-2.0.4.tar.gz
Algorithm Hash digest
SHA256 8cd83ec2fc9e5ef60a9435d445ae8db0cbbf8203ea5a53f41e5f3561d4f01efc
MD5 70fac850bb1222b8ec3d06d61fd156e5
BLAKE2b-256 fa1063bbd9db89b5ce5c4a0274d951ae53b1ca8b718cad3dcbdae874237807ba

See more details on using hashes here.

File details

Details for the file TCLR-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: TCLR-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for TCLR-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 07a8420afd0ff5423d39ec60e4bc6ddc7fc89b00600fe0c3390a737f4082c698
MD5 019bd8a72e14da8bc297d48d9ff391bb
BLAKE2b-256 26202879d3d8877e47cb53be57b3219a9e631e532b2e465cf700145ce861ea33

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page