search for: recenc

Displaying 14 results from an estimated 14 matches for "recenc".

Did you mean: recent
2017 Oct 13
1
How to define proper breaks in RFM analysis
...7;31/2017 31 1 24.34 295204 21.86 7/18/2017 44 1 21.86 295989 8.98 8/20/2017 11 2 14.095 298883 14.38 8/24/2017 7 2 11.185 308824 10.77 7/31/2017 31 1 10.77") names(dat) <- c("user_id", "subtotal_amount", "created_at", "Recency", "Frequency", "Monetary") dat <- data.frame(dat,stringsAsFactors=FALSE) I suspect read.table would also have worked for me, but I was expecting difficulties based on Petr's posting. #And ended up with this result (on the original copied data): > str(dat) '...
2017 Oct 13
1
How to define proper breaks in RFM analysis
...295204 21.86 7/18/2017 44 1 21.86 > 295989 8.98 8/20/2017 11 2 14.095 > 298883 14.38 8/24/2017 7 2 11.185 > 308824 10.77 7/31/2017 31 1 10.77") > > names(dat) <- c("user_id", "subtotal_amount", "created_at", "Recency", "Frequency", "Monetary") > dat <- data.frame(dat,stringsAsFactors=FALSE) > > I suspect read.table would also have worked for me, but I was expecting difficulties based on Petr's posting. > > > #And ended up with this result (on the original copie...
2017 Oct 23
1
How to define proper breaks in RFM analysis
...7;2017 44 1 21.86 > > 295989 8.98 8/20/2017 11 2 14.095 > > 298883 14.38 8/24/2017 7 2 11.185 > > 308824 10.77 7/31/2017 31 1 10.77") > > > > names(dat) <- c("user_id", "subtotal_amount", "created_at", "Recency", > "Frequency", "Monetary") > > dat <- data.frame(dat,stringsAsFactors=FALSE) > > > > I suspect read.table would also have worked for me, but I was expecting > difficulties based on Petr's posting. > > > > > > #And ended up...
2017 Oct 11
0
RFM analysis
Hi Hemant, Let's take it one step at a time. Save this code as "qdrfm.R" in your R working directory: It includes the comments I added last time and fixes a bug in the recency scoring. qdrfm<-function(x,rbreaks=3,fbreaks=3,mbreaks=3, date.format="%Y-%m-%d",weights=c(1,1,1),finish=NA) { # if no finish date is specified, use current date if(is.na(finish)) finish<-as.Date(date(), "%a %b %d %H:%M:%S %Y") x$rscore<-as.numeric(finish-as.Date...
2017 Oct 10
1
Help RFM analysis in R (i want a code where i can define my own breaks instead of system defined breaks used in auto_RFM package)
...18 3453 18.9 2017-03-22 7689 8 2017-03-24 but when I'm passing the data into the function it is giving me same values for entire observations i. r=2, f=2, m=2 and which part of your code is responsible to calculate recency and frequency score i mean how it will determine how many times a user made a purchase in last 30 days so that we can put that user into our own defined category. one more thing it would be great if you can explain lil bit about finish date. because i'm not able to understand what do you mean...
2017 Oct 06
1
Help RFM analysis in R (i want a code where i can define my own breaks instead of system defined breaks used in auto_RFM package)
..._at = as.Date(df$created_at)* *occurences = table(unlist(df$user_id))* *occurences = as.data.frame(occurences)* *occurences = occurences[order(-occurences$Freq),]* * r <-c(30,60,90)* * f <-c(2,5,8)* * m <-c(10,20,30)* * getScoreWithBreaks <- function(df,r,f,m) {* * ## scoring the Recency* * len = length(r)* * R_Score <- c(rep(1,length(df[,1])))* * df <- cbind(df,R_Score)* * for(i in 1:len){* * if(i == 1){* * p1=0* * }else{* * p1=r[i-1]* * }* * p2=r[i]* * if(dim(df[p1<df$Recency & df$Recency<=p2,])[1]>0) df[p1<df$Recenc...
2017 Oct 05
0
RFM Analysis Help
...occurences = table(unlist(df$user_id)) > occurences = as.data.frame(occurences) > occurences = occurences[order(-occurences$Freq),] > > r <-c(30,60,90) > f <-c(2,5,8) > m <-c(10,20,30) > > getScoreWithBreaks <- function(df,r,f,m) { > > ## scoring the Recency > len = length(r) > R_Score <- c(rep(1,length(df[,1]))) > df <- cbind(df,R_Score) > for(i in 1:len){ > if(i == 1){ > p1=0 > }else{ > p1=r[i-1] > } > p2=r[i] > > if(dim(df[p1<df$Recency & df$Recency&...
2017 Oct 13
1
How to define proper breaks in RFM analysis
...one of those variables is attached in the previous email, i don't want to consider quartile method because quartile is not working ideally for that data set because data distribution is non normal. so i want you to suggest another method so that i can define 3 breaks with the ideal interval for Recency, frequency and monetary to calculate RFM score. i'm again attaching you some of the data set. please look into it and help me with the R code. Thanks Data user_id subtotal_amount created_at Recency Frequency Monetary 194849 6.99 8/22/2017 9 5 9.996 194978 14.78 8/...
2006 Sep 18
7
drbd using zfs send/receive?
hi everyone, I am planning on creating a local SAN via NFS(v4) and several redundant nodes. I have been using DRBD on linux before and now am asking whether some of you have experience on on-demand network filesystem mirrors. I have yet little Solaris sysadmin know how, but i am interesting whether there is an on-demand support for sending snapshots. I.e. not via a cron job, but via a
2004 Jan 21
4
How to avoid rsyncing incomplete uploads? (best practice on fileservers?)
Hi, some big files are regularily updated on server A. Rsync should sync that with Server B. If rsync starts in the middle of an upload process, will it copy that incomplete file to Server B? First tests showed it will. How can this be avoided? Comments on rsync-usage with big files and very active users would be very appreciated! Thanks! Peter -- To unsubscribe or change options:
2017 Oct 09
1
Help RFM analysis in R (i want a code where i can define my own breaks instead of system defined breaks used in auto_RFM package)
I seriously doubt that you are running the code I sent. What you have probably done is to run your data, which has a different date format, without changing the breaks or the date format arguments. As you haven't provided any example that shows what you are doing, I can't guess what the problem is. Jim On Mon, Oct 9, 2017 at 9:40 PM, Hemant Sain <hemantsain55 at gmail.com> wrote:
2017 Oct 13
1
How to define proper breaks in RFM analysis
...one of those variables is attached in the previous email, i don't want to consider quartile method because quartile is not working ideally for that data set because data distribution is non normal. so i want you to suggest another method so that i can define 3 breaks with the ideal interval for Recency, frequency and monetary to calculate RFM score. i'm again attaching you some of the data set. please look into it and help me with the R code. Thanks *Data* user_id subtotal_amount created_at Recency Frequency Monetary 194849 6.99 8/22/2017 9 5 9.996 194978 14.78 8/28/2017...
2017 Oct 13
1
How to define proper breaks in RFM analysis
Hi Your statement about attaching data is problematic. We cannot do much with it. Instead use output from dput(yourdata) to show us what exactly your data look like. We also do not know how do you want to split your data. It would be nice if you can show also what should be the bins with respective data. Unless you provide this information you probably would not get any sensible answer. Cheers
2010 Jan 16
95
Best 1.5TB drives for consumer RAID?
Which consumer-priced 1.5TB drives do people currently recommend? I had zero read/write/checksum errors so far in 2 years with my trusty old Western Digital WD7500AAKS drives, but now I want to upgrade to a new set of drives that are big, reliable and cheap. As of Jan 2010 it seems the price sweet spot is the 1.5TB drives. As I had a lot of success with Western Digital drives I thought