"Association rule creating. problem with FP-growth operator"
Hi! I have a problem with handling Excel file via association rule creating. Please let me know what do I do wrong? The error message I got is "The exampleset contains non-nominal attribute "prod.date" which is not allowed to fp-growth" .". I try to handle data from Excel file but I have transformed it to .txt in order to attach it.
<运营商激活= " true "类=“检索”兼容ibility="8.0.001" expanded="true" height="68" name="Retrieve рабочий файл для проверки (2)" width="90" x="45" y="34">
Tagged:
0
Answers
@mzharovcan you just use a Select Attributes and remove 'prod.date?' Then see if it works.
Hi Thomas
I have deleted any dates from my file at all. Ran the same process Retrive-Nominal to Binominal-FP-Growth-Create assoc. rule and got a similar error "The exampleset contains non-nominal attribute "ID" which is not allowed to fp-growth" . ID is just unique number of lines in my file. Could you tell where is my mistake ? Thanks in advance
screen shot of error and sample of loading file are in attachment
I dont open DOCX files as a rule, so you'd have to post a screenshot. Also, your XML is corrupt. You have to post the XML correctly like from this KB articlehttps://community.www.turtlecreekpls.com/t5/RapidMiner-Studio-Knowledge-Base/How-can-I-share-processes-without-RapidMiner-Server/ta-p/37047
Hi Thomas,
ok, once again . I created new xml and attached correct files. pleace, check . thanks in advance.
@mzharovthe XML is still corrupted. You have to open the XML view and copy it from there.
Also as a rule, I don't open PPTX files either. Pretty much nothing from MSFT.
Hi Thomas,
actually I do not have an xml option in View-Show panel. I have turned xml at bottom of screen on. So xml from that screen attached. Please, check it. Thanks. Konstantin
@mzharovok, the XML works now but your data file appears to be rather strange. Is it supposed to look this way, meaning are different data-types mixed into the same attribute column? It could also be my encoding as well.
Hi Thomas,
I have fixed my file. But anyway I get the similar error . Is there something wrong with data format ?? More info about my file below in the bottom of my post
the sample of my loading data below.
Row ID code material name stock am.per serie stock date
@mzharovok, I see what's going on here. You have two attribute columns with real numbers in them. In order to use the FP-Growth operator, you must convert all the data into binmomals (true/false). The conversion is not happening for the numerical values as the Nominal to Binomal operator can't figure out how to transform 70 to true or false.
You would have to figure out how to manipulate the numericals into true/false OR remove them from the data set.