similar to: error in arules package

Displaying 20 results from an estimated 100 matches similar to: "error in arules package"

2008 Mar 31
0
MANOVA, SCC and multiple comparisons
Bonjour, we wanted to fit a manova as descripted in Marieta /et al./ 2003, "convergent habitat segregation of /Aedes aegyptii/ and /Aedes albopictus/ (Diptera: /Culicidae/) in Southern Brazil and Florida", /J. Med. Entomol./, *40* (6), 785-794. They did their analysis with SAS software. We have the same kind of data with two insect species and city, habitat and season factors. We
2007 Oct 16
2
Canberra distance
Hi, I misunderstand the definition of Canberra distance in R. On Internet and in function description pages of dist() from stats and Dist() from amap, Canberra distance between vectors x and y, d(x,y), is : d(x,y) = sum(abs(x-y)/(x+y)) But in use, through simple examples, we find that the formula is : d(x,y) = (NZ + 1)/NZ * sum(abs(x-y)/(x+y)) with NZ = nb of pairs of coordinates that are
2006 Nov 22
1
differences between aov and lme
Hi, we have a split-plot experiment in which we measured the yield of crop fields. The factors we studied were: B : 3 blocks I : 2 main plots for presence of Irrigation V : 2 plots for Varieties N : 3 levels of Nitrogen Each block contains two plots (irrigated or not) . Each plot is divided into two secondary parcels for the two varieties. Each of these parcels is divided into three subplots
2020 Mar 02
0
Postulation à la liste de diffusion
Bonjour, j'ai l'honneur de vous informer que je postule ? la liste de diffusion pour des fins utiles de cette formation "MOOC". Salutations ? toute l'?quipe d'encadrement. Cordialement. -- *DOUMBOUYA Moussa* *Epid?miologiste bio statisticien* ************************** Certifi? en FETP premi?re ligne en Guin?e *Chef de section pr?vention et lutte contre la maladie*
2013 Feb 07
0
Help R.matlab
Dear useRs, This post relates to a similar problem ( https://stat.ethz.ch/pipermail/r-help/2010-August/250719.html) I am using R.matlab (R.matlab v1.6.3 (2013-01-17) to iterate matrix multiplication in matlab 2012Rb. Everything works fine except for some random iteration of my model the command getVariable would fail to bring matlab objects back to R. Could someone help me understand what's
2013 Oct 31
0
arules package apriori() fn error message XXXX
Hi everybody, I am using the apriori() fn in the arules package and am encountered an error. rules <- apriori(rdayst,parameter = list(support = 0.01, confidence = 0.6)) "You chose a very low absolute support count of 0. You might run of memory." I assume this is related to the value of .01 specified for the support = argument. If so, what is a safe and reliable max value for
2006 Oct 05
0
a question on using arules package
hi, there: I have a question on use of arules package: suppose i have a classification problem with class id = 1 or 0. i put predictors and class ids together and tranform all of them into binary thus i got a binary matrix. When I build the rules from it, I subset the rules to 2 by defining rhs %in% "classid = 1" or "2". (Actually i can build rules from two seperate datasets
2012 Jun 25
1
Arules - predict function issues - subscript out of bounds
Hi, I'm doing a Market Basket Analysis in which I have a list of transaction id's in column 2 and transactions(product names) in column 1. I read this into a transaction file using a txn<-read.transaction(file="data.csv",format='single', rm.duplicates=F, cols=c(1,2)) If I want to use the apriori algorithm everything seems to be running fine. However it is when I want
2013 May 21
0
Arules: getting rules with only one item in the left-hand side
Hello, I am using the package arules to generate association rules. I would like to restrict the rules so that in the left-hand side there's only one particular element, let's call it "potatoe". If I do this: rules <- apriori(dtm.mat, parameter = list(sup = 0.4, conf = 0.9,target="rules"), appearance = list(lhs = c("potatoe"))) I get "potatoe"
2009 Feb 28
0
arules: rules are built on item ordering in the dataframe, rather than
Hi, I'm trying out the package arules and I'm having a bit of trouble getting my data to work properly. I have a set of transactions with the purchased products but each product could appear in a different column in the data frame. This causes the rules to be built based on the ordering, which is not significant. Here is an example: # # Code: my.df <- data.frame(
2008 Mar 14
0
arules package (apriori)
hello, I want to perform the Apriori association rules algorithm to my data. The set of data contains missing values and consists in a combination of continuous and categorical variables. After discretizing the continuous variables, I wrote the following instruiction to perform Apriori, but I obtained the following error message: > rules <- apriori(dd_new,parameter=list(supp=0.5, conf=0.9,
2010 Feb 18
1
how to change number of itemes appeare in right-hand-side of the rule with apriori in R(arules)?
Hi All, I use arules library, and try to create an association rules for this transaction file: a,c,f,3,4,5 b,e,1,2,4 a,c,e,f,1,3,4,5 d,5 b,c,e,f,1,2,3,4 a,c,e,f,1,3,4,5 b,c,e,f,1,3,4 b,e,1,2,4 a,c,e,f,1,3,4,5 a,b,c,e,f,1,3,4 a,c,d,f,3,4,5 I want to get the rule such: {c,e,f}=> {3,4,5} I used this command: ar=apriori(tr, parameter=list(support=.4, confidence=0.8, maxlen=11), appearance
2008 Jul 16
1
Help regarding arules package
Dear R experts,   I need help to make my little program efficient which now takes 2hrs to complete.   Using arules package I developed set of rules consisted of 900 rules. Now I want to check whether a lower rule is a subset of a higher premises rule. And if it is a subset of higher premises rule then drop this rule. I am using following code but it takes too much time.      nor<-length(rules)
2008 Mar 04
1
Error in Arules
Hi everyone, This is my first posting and I am just starting to fumble my way thru R. I have been working thru the Arules package, and I used to be able to use the image function and I get the following message: Error in image.default(basket2) : 'z' must be a matrix I used to be able to plot the image. I only started to get this error when I tried to add x and y axis labels.
2006 Feb 08
1
ARULES --> Filtering Rules by RHS
Dear Colleagues, I would like to only inspect rules that contain a certain label substring on the rhs. In this special case the item labels are built like this: <itemtype>_<itemvalue> e.g. "Artikelgruppe_E0815" what I want to do is only show rules where "Artikelgruppe" is contained in the rhs - has anybody an idea how this could work? Sincerely
2008 Mar 17
0
arules - getting transaction data in
Hi All Hoping someone can help me with the "transactions" object. I am struggling to get my data in. I know the answer is in the help somewhere I'm sure, I just cannot find it. Essentially, I have data in this format (though I can change it if it particularly unsuitable) Transaction_id, store , salesman, date_time , items 1 , waterfront, john ,
2008 Jul 24
1
How to get rule number in arules
 Dear R experts   I generated rules using apriori method in arules package. Though I can access rules using %in% function but I am unable to access a specific rule by its unique identifier number. I want to use rule number for further analysis..   Thanking you in advance.   Daniel Amsterdam                                       Send instant messages to your online friends
2012 Jan 17
1
arules "killed"
Hi, I recently got a bizarre message when running arules. It just said "Killed" and quit. Anyone know why this might have happened? I am running R on an AWS quad xl ubuntu instance. Here is some information, including dataset size and the parameters: parameter specification: confidence minval smax arem aval originalSupport support minlen maxlen 0.0003581251 0.1 1 none
2010 Dec 20
2
package "arules" - 'transpose' of the transactions
Suppose this is my list of transactions: set.seed(200) tran=random.transactions(100,3) inspect(tran) items transactionID 1 {item80} trans1 2 {item8, item20} trans2 3 {item28} trans3 I want to get the 'transpose' of the data, i.e. transactionID items 1 {trans2} item8 2 {trans2} item20 3 {trans3} item28 4 {trans1} item80 I
2007 Oct 17
1
How to save association rules generated by arules package
Hi, I have been able to generate association rules for Market Basket Analysis using the following codes: **************************************************************************** ******************************************* library("arules") rules <- read.csv("write1.csv",na.strings=c(".", "NA", "", "?"),header=TRUE)