Skip to content

ProFeld: survival analysis, predictive maintenance, churn analysis, and remaining useful life prediction in Python

License

Notifications You must be signed in to change notification settings

LongxingTan/python-profeld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Survival_analysis

LICENSE
This repository is to briefly introduce how to implement survival analysis and predictive maintenance in python.

Ongoing project, welcome to join, I'm too lazy.

Why this repository?

Survival analysis, is an important area for me. This is where my career started, after graduation I joined Mercedes-Benz and worked as a pioneer to improve the field quality with data. It's still a dream time to work together with Dr. Andreas Jacobi and Christoph Jordan to predict the vehicle's future performance in quality, and we really made a difference and helped a lot for Mercedes customers to have a better product. (Even so, I still cannot afford one, just like thousand years ago Chinese poet said: 遍身罗绮者,不是养蚕人)

After that, I focus more on programming and machine learning step by step, slowly but continuously. Now I have left Mercedes, Bolin and Kim will continue to support on this. And I joined a startup Teletraan as a data scientist, I also implement predictive maintenance methods for industry. Cheers for the great time! It's time to have an overview about this topic and add some new things I learned recently.

Please note that this repository only includes my own understanding of survival analysis and does not leak any confidential information. I will consider this as a witness of the pleasant time we spent together.

Introduction


Preventive maintenance/ Survival analysis

Preventive maintenance consider all samples ststistical property, instead of each member's, we can decide to maintain or not when the operation time reaches the mean time. Survival analysis do the similar thing, but it can also predict the whole samples's future performance. So that's why we use survival analysis in Mercedes, to evaluate vehicle issue's future performance.

Weibull

intro & examples

core code

WTTE-RNN

intro & examples

core code

Local weighted Weibull

intro & examples

core code

Further: Segmented regression, isotonic regression

Predictive maintenance

predcitive maintenance predict a specific member's future performance giving its historical feature data. It encompasses a variety of topics, including but not limited to: failure prediction, failure diagnosis (root cause analysis), failure detection, failure type classification, and recommendation of mitigation or maintenance actions after failure. It's helpful to reduce repair costs, reduce production down time and improve worker safety.

Predictive maintenance differs from preventive maintenance because it relies on the actual condition of equipment, rather than average or expected life statistics, to predict when maintenance will be required, so predictive maintenance gives personal prediction service.

Remaining useful life

intro & examples

core code

Classification

intro & examples

core code


Further reading

If you are interested in more Data Science applications in Automotive Industry, follow my friend YueTan's WeChat account if you are so luckily to know Chinese.

Any equations, feel free to open an issue or follow the WeChat.