parameters as a band
aid fix.
So my question is: How do I subset() association rules with empty lhs?
Thanks and regards,
Dirk
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLE
to decipher it and you are right in
that> you hit a limitation of the current setup which may well> be linked to the Matrix package which I maintain, and on which> 'arules' depends.>> Can you please try to find
a reproducible example [with randomly> generated data; i.e.
>
> VLF-3200,
>
> VLF-3202,
>
> VLF-3205}
>
> 14 {014.5259.0/10,
>
> 014.5260.0/10,
>
> 014.5261.0/10,
>
> 065.1450.0/30,
>
> 069.1450.0/30,
>
> 087.0050.0,
>
> 087.0050.6/10,
>
> 136
)
m
## coerce it into a binaryRatingMatrix
b <- as(m, "binaryRatingMatrix")
b
## coerce it back to see if it worked
as(b, "matrix")
Hope this helps,
-Michael
--
Dr. Michael Hahsler, Visiting Assistant Professor
Department of Computer Science and Engineering
Lyle School
had no time to look at those...
-Michael
--
Dr. Michael Hahsler, Visiting Assistant Professor
Department of Computer Science and Engineering
Lyle School of Engineering
Southern Methodist University, Dallas, Texas
(214) 768-8878 * mhahs...@lyle.smu.edu * http://lyle.smu.edu/~mhahsler
w names to
the matrix.
Thanks for the bug report!
-Michael
--
Dr. Michael Hahsler, Visiting Assistant Professor
Department of Computer Science and Engineering
Lyle School of Engineering
Southern Methodist University, Dallas, Texas
(214) 768-8878 * mhahs...@lyle.smu.edu * http://lyle.sm
ges:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] TSP_1.0-3
loaded via a namespace (and not attached):
[1] tools_2.13.1
Hint: use '<-' instead of '=' for assignments.
Regards,
Michael
--
Dr. Michael Hahsler, Vi
ansactions on the left are listed in c(1,2,...n) and
the dependent data point is in c(4 or n+1)(I have limited the max number to
three) and the support/conf/lift is the next tree columns.
something like:
93543_413.9 | 93555_413.9 | 93545_413.9 | 0.01541426 | 1.
ster method?
The method above should be very fast.
-Michael
Thanks
--
Dr. Michael Hahsler, Visiting Assistant Professor
Department of Computer Science and Engineering
Lyle School of Engineering
Southern Methodist University, Dallas, Texas
(214) 768-8878 * mhahs...@lyle.smu.
Jüri,
How did you create the output?
An example to cluster transactions with arules can be found in:
Michael Hahsler and Kurt Hornik. Building on the arules infrastructure
for analyzing transaction data with R. In R. Decker and H.-J. Lenz,
editors, /Advances in Data Analysis, Proceedings of
the correct way to do it is
solve_TSP(tsp, "2-opt", control=list(rep=56))
-Michael
--
Dr. Michael Hahsler, Visiting Assistant Professor
Department of Computer Science and Engineering
Lyle School of Engineering
Southern Methodist University, Dallas, Texas
(214) 768-88
th one
item in the RHS.
Hope that helps,
Michael
--
Michael Hahsler
email: mich...@hahsler.net
web: http://michael.hahsler.net
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guid
Cornell University
> Contact Info:http://cbio.mskcc.org/~lianos/contact
>
> __________
> r-h...@r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html
> and p
#logical".
"myMatrix#ANY#ANY#ANY" would also be valid
[1] "dgCMatrix"
attr(,"package")
[1] "Matrix"
> sessionInfo()
R version 2.9.1 (2009-06-26)
i486-pc-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;L
example that means to obtain
lhs rhs support confidence lift
8 {It4} => {It1} 1.000 1 1.0
9 {It1} => {It4} 1.000 1 1.0
This is a little more tricky.
We can create a new set of rules with rhs and lhs reversed and then see
if these reversed
15 matches
Mail list logo