Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
"Using MyKLRLearner and getting errors"
HI, I am trying to create a logistic regression model and I am getting an error:
Polynomial attributes not supported.
There aren't any polynomial attributes in my data (no text). Also, I read somewhere that excel has formatting problems sometimes, so I double checked and all the fields are formatted to number. Also, I imported the data to an Access database and started getting another error:
numerical label not supported ???
My label is the second column and is either a 0 or a 1. Isn't this correct for a logistic regression that only uses two values for inputs?
My XML:
<operator name="Root" class="Process" expanded="yes">
<operator name="ExcelExampleSource" class="ExcelExampleSource">
<parameter key="excel_file" value="C:\Users\user1\Desktop\hands\examples1.xls"/>
<parameter key="create_label" value="true"/>
<parameter key="label_column" value="2"/>
<parameter key="create_id" value="true"/>
</operator>
<operator name="MyKLRLearner" class="MyKLRLearner">
</operator>
</operator>
I attached my spreadsheet too.
[attachment deleted by admin]
Polynomial attributes not supported.
There aren't any polynomial attributes in my data (no text). Also, I read somewhere that excel has formatting problems sometimes, so I double checked and all the fields are formatted to number. Also, I imported the data to an Access database and started getting another error:
numerical label not supported ???
My label is the second column and is either a 0 or a 1. Isn't this correct for a logistic regression that only uses two values for inputs?
My XML:
<operator name="Root" class="Process" expanded="yes">
<operator name="ExcelExampleSource" class="ExcelExampleSource">
<parameter key="excel_file" value="C:\Users\user1\Desktop\hands\examples1.xls"/>
<parameter key="create_label" value="true"/>
<parameter key="label_column" value="2"/>
<parameter key="create_id" value="true"/>
</operator>
<operator name="MyKLRLearner" class="MyKLRLearner">
</operator>
</operator>
I attached my spreadsheet too.
[attachment deleted by admin]
Tagged:
0
Answers
You had two problems, firstly that the label column was an integer, rather than a binominal, column, secondly that column 7 had an "I" ( capital letter i ) rather than a "1" (integer one). The following straightens things out...
Would you happen to know how to use the evolutionary parameter optimization with the KLRLeanrer? I keep trying to use the example, but I get an error. It works with the LibSVM, any ideas on how I could use my example above to optimize the C and degree?
I am trying to model the probability of a player winning in the showdown for a game of online fixed limit holdem. I have hundreds of thousands of hands with examples we parsed from the hand histories. If you could help me, I would be more than happy to give you the final poker bot. The excel file now is for the PREFLOP round, and we're doing 1 round at a time. It takes the gamestate info like #number of players playing, and the holecards (14 for ace 2 for deuce), and then a 0 if the player lost and 1 if the player won. The excel file has many of those examples from many players.
If anybody wants to work on this with me just contact me, the team of other people I'm working with have made successful bots on the past. I'm also Gman on the pokerbotting forums www.maxinmontreal.com.
Thanks,
gman
[attachment deleted by admin]