Regression unable to use polynomial label(or any label)
green_duck
MemberPosts:4Newbie
inHelp
Hello all,
new here and new to RM(which will be made obvious shortly). So, i'm trying to do a simple regression analysis based on a attribute(label) as(-1,0,1). I've followed the steps provided to me, but every time I input a regression operator, I get an error saying the operator cannot handle polynomial or numerical labels. I'm stumped.
Any help would be greatly appreciated! Thanks!
new here and new to RM(which will be made obvious shortly). So, i'm trying to do a simple regression analysis based on a attribute(label) as(-1,0,1). I've followed the steps provided to me, but every time I input a regression operator, I get an error saying the operator cannot handle polynomial or numerical labels. I'm stumped.
Any help would be greatly appreciated! Thanks!
Tagged:
0
Best Answers
-
lionelderkrikor Moderator, RapidMiner Certified Analyst, MemberPosts:1,195Unicorn@green_duck,
In attached file, the working process.
How said previously, you have a classification problem, thus you need a classifier model (Here I used aNaive Bayesmodel).
TheLinear Modelyou used is dedicated to regression task(s) and thus raised an error in your case.
To go further and to find the best model for your use case, I advice you to use theAuto-Modeltool : Click onAuto-Model, submit your data, choosePredictand select your label attribute (in your case "sentiment") and then follow the indications.
Good luck !
Hope this helps,
Regards,
Lionel
1 -
lionelderkrikor Moderator, RapidMiner Certified Analyst, MemberPosts:1,195Unicorn@green_duck,
I'm not specialist of Deep-learning but as said previously, you can start with theDeep learningmodel proposed inAuto-Modelwith the default parameters.
Don't forget to enable the optionTurn into Classification.
You will obtain a first performance. Then you can play with the structure of the neural network by adding or removing hidden layer(s), and/or playing with the number of epochs (increase this parameter), modify the activation function etc. and see if you can improve the performance of your process.
Hope this helps,
Regards,
Lionel
6
Answers
If your attribute(label) has (-1,0,1) as values, it is a classification problem and not a regression problem.
A regression problem is characterized by a continuous attribute(label).
Can you provide your process and your data in order we can fix your error ?
Regards,
Lionel
Thanks for getting back to me - I had a feeling this may have been the case as I was also attempting to use cross-validation but I couldn't get the operator to work either. I've attached the data(should've done this earlier).
XML下面:
Thank you so much! This was very helpful - Just have one last question - are there any deep learning models(NNs) that you would suggest for this same dataset?