search for: saleprice

Displaying 2 results from an estimated 2 matches for "saleprice".

Did you mean: sale_price
2013 Feb 03
3
RandomForest, Party and Memory Management
...of the data set, I have often memory problems (in particular with the Party package; RandomForest seems to use less memory). I really have two questions at this point 1) Please see how I am using the Party and RandomForest packages. Any comment is welcome and useful. myparty <- cforest(SalePrice ~ ModelID+ ProductGroup+ ProductGroupDesc+MfgYear+saledate3+saleday+ salemonth, data = trainRF, control = cforest_unbiased(mtry = 3, ntree=300, trace=TRUE)) rf_model <- randomForest(SalePrice ~ ModelID+...
2006 Jun 01
1
Automatted Getter/Setter
...ough a process when read in and read out to add/remove commas (between every three numbers) to make them more readable. The getter I currently have is like this: def sale_price Listing.insert_commas(read_attribte (:sale_price)) end and the setter is: def sale_price=(price) write_attribute(:saleprice, Listing.remove_commas(price)) end The trouble is there is at least 5 other fields that need the same thing done for them (and most likely more will be added in time). I was wondering if there is some way I could do this more automatted like: :attr_reader :sale_price, ...., ...., .... Any hel...