search for: iteminfo

Displaying 7 results from an estimated 7 matches for "iteminfo".

2018 May 31
2
mysterious rounding digits output
..., printing the value "0,517" of 'ccc' looks like printing 4 digits! Joshua's could look even worse if 'ddd' had values in the 1000s! To achieve exactly what Joshua seems to want, use the round() function. Starting with his original assignment of values to the variable itemInfo, the result of round(itemInfo,digits=3) is: aaa bbb ccc ddd eee skill 1.396 6.225 0.517 5.775 2.497 predict 1.326 5.230 0.462 5.116 -2.673 waiting 1.117 4.948 NA NA NA complex 1.237 4.170 0.220 4.713 5.642 novelty 1.054 4.005 0.442 4.260 2.076 creative...
2018 May 31
3
mysterious rounding digits output
R version 3.5.0 (2018-04-23) -- "Joy in Playing" Platform: x86_64-pc-linux-gnu (64-bit) options(digits=3) itemInfo <- structure(list("aaa" = c(1.39633732316667, 1.32598263816667, 1.11658324066667, 1.23651072616667, 1.05368679983333, 1.03100737383333, 0.9630728395, 0.7483865045, 0.620086646166667, 0.5411017985, 0.496397607833333, 0.459528044666667, 0.427877047833333, 0.402085979666667, 0.2831611...
2018 May 31
0
mysterious rounding digits output
Hi Joshua, Because there are no values in column ddd less than 1. itemInfo[3,"ddd"]<-0.3645372 itemInfo aaa bbb ccc ddd eee skill 1.396 6.225 0.517 5.775 2.497 predict 1.326 5.230 0.462 5.116 -2.673 waiting 1.117 4.948 NA 0.365 NA complex 1.237 4.170 0.220 4.713 5.642 novelty 1.054 4.005 0.442 4.260 2.076 creative 1...
2018 May 31
0
mysterious rounding digits output
...9;ccc' looks > like printing 4 digits! Joshua's could look even worse if 'ddd' > had values in the 1000s! > To achieve exactly what Joshua seems to want, use the round() > function. Starting with his original assignment of values to > the variable itemInfo, the result of round(itemInfo,digits=3) is: > aaa bbb ccc ddd eee > skill 1.396 6.225 0.517 5.775 2.497 > predict 1.326 5.230 0.462 5.116 -2.673 > waiting 1.117 4.948 NA NA NA > complex 1.237 4.170 0.220 4.713 5.642 > novelty...
2011 Jan 28
1
arules package question- apriori/S4 object export question
...3519 4172 3519 4182 3519 4172 4182 4172 4182 ... .. .. .. .. ..@ p : int [1:790] 0 0 1 2 3 4 5 6 7 8 ... .. .. .. .. ..@ Dim : int [1:2] 7002 789 .. .. .. .. ..@ Dimnames:List of 2 .. .. .. .. .. ..$ : NULL .. .. .. .. .. ..$ : NULL .. .. .. .. ..@ factors : list() .. .. ..@ itemInfo :'data.frame': 7002 obs. of 1 variable: .. .. .. ..$ labels:Class 'AsIs' chr [1:7002] "0171T_722.52" "0171T_724.02" "0172T_724.02" "0197T_185" ... .. .. ..@ itemsetInfo:'data.frame': 0 obs. of 0 variables ..@ rhs :For...
2011 Jun 03
2
Arules: R Crashes when running eclat with tidLists=TRUE
...st be located in the external function reclat called in eclat.R using the source of the arules package: result <- .Call("reclat", ## transactions items at p, items at i, items at Dim, ## parameter parameter, control, data at itemInfo, PACKAGE = "arules") Then I looked into the source code of reclat.c, trying to follow the tidList=TRUE parameter, but I have no C programming experience. It looks to me that the problem may be in the item set report function "_report_R" where memory is allocated and or...
2008 Jan 14
1
How do I add autoincrement?
...nerated after the scaffold is listed below. Any help is appreciated. class CreateMenuitems < ActiveRecord::Migration def self.up create_table :menuitems do |t| t.integer :id t.string :category t.text :categoryinfo t.string :name t.string :price t.text :iteminfo t.timestamps end end insert into menuitems values(NULL); def self.down drop_table :menuitems end end -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups &...