The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Automotive Predictive Maintenance modeling

sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
edited November 2018 in Help

Hello.  I would like to share with this SIG a sample process in RapidMiner that will model automotive predictive maintenance.  It may be useful for anyone working in the manufacturing space.  Thank you @bhupendra_patil and colleagues for sharing.

 

Scott

 

 

Tagged:

Answers

  • lionelderkrikorlionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn

    Hi,

     

    I'm interested in this subject of predictive maintenance but

    I can't import the .rmp process in RM : When I try to import this file, there is the following message in the log view : 

    "PM WARNING: While updating process editors: java.lang.reflect.InvocationTargetException"

    and nothing happens.

     

    What can I do ?

     

    Thanks,

     

    Regards,

     

    Lionel

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    hi @lionelderkrikor- that's odd.  Did you unzip the file and place that folder in your .RapidMiner repository?

  • lionelderkrikorlionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn

    Hi,

     

    That's I made and it worked. So I can study this process.

    (I was writing this reply when I received your message......)

     

    Thanks you for your feedback,

     

    Regards,

     

    Lionel

     

     

  • spaciosspacios Member Posts: 7 Contributor I

    Hello, 

     

    I tried the model. It works very well but I would like to have an equation predicting the failure of the part. Like for example if the oxygen sensor 3 is 0.15 then the part automatically fails. 

    How can I do that ?

    Thank you for your help

    Selina

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    hello @spacios - so the way these models work is not necessarily with a "formula" but rather with an algorithm.  In this model it's nearest-neighbor (k-NN).  You put new, unlabeled data in the Apply Model operator to get a prediction.

     

    Screen Shot 2017-11-23 at 4.18.24 PM.png

     

    If you want to see a traditional formula, you can always do regression or something similar.

     

    Scott

  • spaciosspacios Member Posts: 7 Contributor I

    Hello,

     

    Thank you @sgenzer, it worked with apply model but I dont see the algorithm or the correlations between the failure and the part and like one or multiple sensors. I am very new on this software, but  I tried polynomial regression and i dont have an equation for the failure of the part. Here are what I did: Capture.JPGCapture2.JPG

     

     

    Did I do something wrong ? thank you for your help!

     

    Regards, 

     

    Selina

     

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    Hello @spacios - oh that's an easy one.  Just connect the model output for the polynomial regression to a results nub:

     

    Capture2.JPG

     

    Scott

  • spaciosspacios Member Posts: 7 Contributor I

    Hello,

    Thank you @sgenzer, I did what you said, it works fine.

     

    I have another question where do I visualize the graph and the equation ? 

    I only have this right now :

    Capture.JPG

    Thank you for your help, 

     

    Selina

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    hello @spacios - so you cannot "graph" equations in RapidMiner like you would in Mathematica or similar because it's not that kind of software.  To the best of my knowledge, if you wanted to graph a function you would create x and y attributes using those functions and then graph those attributes as a scatter plot etc...

     

    Scott

     

     

  • spaciosspacios Member Posts: 7 Contributor I

    Hello,

     

    Thank you @sgenzer

    I have additional questions : 

    So I ploted some points shown in the picture. 

    What does the numbers in y axis refer to ? What is the unit of PID 05 ?

    What is exactly a blue dot ? 

    How can I get the name of the part when I click on the blue dot ?

    Does this graph mean that when the PID 05 is a precise number there is either  a prediction of failure or not ?

     

    Thank you so much !! 

     

    SelinaCapture.JPG

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    Hello @spacios - so those are all good questions that I did not know the answers to.  However if you just use Google and type "automotive sensor PID" you arrive at a nice Wikipedia page that explains what PIDs are.  :)  

     

    So the "blue dots" are the value of PID5 for each row in your data set vs whether or not that row was classified as no or yes.  That's all.

     

    Scott

     

  • spaciosspacios Member Posts: 7 Contributor I

    hello,

     

    Thank you @sgenzer. Do you know if there is a way to show the PID 05 data set linked to prediction (failure) yes or no ?

     

    Selina

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    So to me “linked” means “correlated” or some predictive relationship. So that’s the whole purpose of the predictive model, right?
Sign In or Register to comment.