Hello everyone, I built a logistic regression model to get the coefficients and Intercepts to generate new attributes .. so how can I convert the result of this model to data so I can use it ?? Thanks
0
Best Answer
jmerglerAdministrator, Moderator, Employee, RapidMiner Certified Analyst, Member, University ProfessorPosts: 41 Guru
Solution Accepted
The Converters extension has a Logistic Regression to ExampleSet operator that should work for you.
Can you share your XML process? (View --> Show Panel --> XML) This extension will convert the coefficients into an example set as mentioned by @jmergler. Here is the tested process on titanic dataset.
thanks, @varunm1 , it works finally but I have another question now if you may help !! How can I use this data to make it matches each row in my data, so for example in Titanic Data , the coefficient of Sex.male is 2.701 .. so how can i match it with my data so all people who are male there is a column next with the coefficient of 2.701 .. hope my query is clear
Answers
, I just tried this, it creates a dataset from log Reg but with no data, so what is the issue?
Can you share your XML process? (View --> Show Panel --> XML) This extension will convert the coefficients into an example set as mentioned by @jmergler. Here is the tested process on titanic dataset.
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
thanks