search for: hemantsain55

Displaying 20 results from an estimated 22 matches for "hemantsain55".

Did you mean: hemantsain
2017 Sep 04
1
Dataframe Manipulation
...oin(data_help, by = "Item") %>% > group_by(Foo, Purchase_ID) %>% > summarise(Item = paste(Item, collapse = ", ")) %>% > spread(key = "Foo", value = "Item") > > HTH > Ulrik > > On Wed, 30 Aug 2017 at 13:22 Hemant Sain <hemantsain55 at gmail.com> wrote: > >> by using these two tables we have to create third table in this format >> where categories will be on the top and transaction will be in the rows, >> >> On 30 August 2017 at 16:42, Hemant Sain <hemantsain55 at gmail.com> wrote: >>...
2017 Aug 31
0
Dataframe Manipulation
...filter(!is.na(Item)) %>% left_join(data_help, by = "Item") %>% group_by(Foo, Purchase_ID) %>% summarise(Item = paste(Item, collapse = ", ")) %>% spread(key = "Foo", value = "Item") HTH Ulrik On Wed, 30 Aug 2017 at 13:22 Hemant Sain <hemantsain55 at gmail.com> wrote: > by using these two tables we have to create third table in this format > where categories will be on the top and transaction will be in the rows, > > On 30 August 2017 at 16:42, Hemant Sain <hemantsain55 at gmail.com> wrote: > >> Hello Ulrik, &g...
2017 Aug 30
1
Dataframe Manipulation
by using these two tables we have to create third table in this format where categories will be on the top and transaction will be in the rows, On 30 August 2017 at 16:42, Hemant Sain <hemantsain55 at gmail.com> wrote: > Hello Ulrik, > Can you please once check this code again on the following data set > because it doesn't giving same output to me due to absence of quantity,a > compare to previous demo data set becaue spiting is getting done on the > basis of quantity a...
2017 Oct 04
3
RFM Analysis Help
I'm trying to perform a RFM analysis on attached dataset, i'm able to get the results using the auto_rfm function but i want to define my own breaks for RFM, when i tried to define my own breaks i got the identical result i.e 111 for every ID. please help me with this with working R script. Thanks hemantsain.com
2017 Oct 11
0
RFM analysis
...refore if I change the breaks to reflect this, I get a much better separation of customers: df.rfm4<-qdrfm(df,rbreaks=c(0,75,150),fbreaks=c(0,1,5), mbreaks=c(0,10,150),finish=as.Date("2017-08-31")) Maybe this will get you going. Jim On Wed, Oct 11, 2017 at 4:43 PM, Hemant Sain <hemantsain55 at gmail.com> wrote: > Also try to put finish date as 2017-08-31. > and help me with the complete running r code. > > On 11 October 2017 at 10:36, Hemant Sain <hemantsain55 at gmail.com> wrote: >> >> Hey Jim, >> i'm attaching you the actual dataset i'm...
2017 Oct 09
2
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)
...u 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: > I'm getting all the rows as NA in Cscore and almost most of the observation > in R and F and M are also NA. > what can be the reason for this. also suggest me the appropriate solution. > > On 9 October 2017 at 15:51, Jim Lemon <drjimlemon at gmail.co...
2017 Oct 23
1
How to define proper breaks in RFM analysis
...one, Petr. Normalization should not > affect the classification based on quartiles. It doesn't change the > ordering of variables. > > > > -- > > David. > > > >> > >> Cheers > >> Petr > >> > >> From: Hemant Sain [mailto:hemantsain55 at gmail.com] > >> Sent: Friday, October 13, 2017 8:51 AM > >> To: PIKAL Petr <petr.pikal at precheza.cz> > >> Cc: r-help mailing list <r-help at r-project.org> > >> Subject: Re: [R] How to define proper breaks in RFM analysis > >> > >&...
2017 Oct 10
0
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)
...ata, 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: > > I'm getting all the rows as NA in Cscore and almost most of the > observation > > in R and F and M are also NA. > > what can be the reason for this. also suggest me the appropriate > solution. > > > > On 9 October 2017 at 15:...
2017 Oct 13
2
How to define proper breaks in RFM analysis
...could normalise your values and use quartile method. Well, maybe not so much on that last one, Petr. Normalization should not affect the classification based on quartiles. It doesn't change the ordering of variables. -- David. > > Cheers > Petr > > From: Hemant Sain [mailto:hemantsain55 at gmail.com] > Sent: Friday, October 13, 2017 8:51 AM > To: PIKAL Petr <petr.pikal at precheza.cz> > Cc: r-help mailing list <r-help at r-project.org> > Subject: Re: [R] How to define proper breaks in RFM analysis > > Hey, > i want to define 3 ideal breaks (bin) f...
2017 Sep 08
0
Nested loop R code
Hi Hemant, please write to the r-help list in the future. Look at the cut () function to solve your problem. Also, you have a problem in your example - 5 is placed in two different categories. HTH Ulrik On Fri, 8 Sep 2017 at 12:16 Hemant Sain <hemantsain55 at gmail.com> wrote: > i have a vector containing values ranging from 0 to 24 > i want to create another variable which can categorize those values like > this > please help me with an R code > > Thanks > > *Value New_Var*1 0 -5 > 3 0 -5 &...
2017 Sep 08
1
nested loop
i have a vector containing values ranging from 0 to 24 i want to create another variable which can categorize those values like this please help me with an R code Thanks *Value New_Var*1 0 -5 3 0 -5 5 0 -5 9 6-10 7 6-10 5 6-10 4 0-5 11 11-15 12 11-15 18 16-20 23 21 -25 --
2017 Oct 05
0
RFM Analysis Help
...otal_amount", date = "cr eated_at") : could not find function "rfm_auto" It looks like you are using the hoxo-m/easyRFM function hosted on GitHub. I may get a chance to look at this, but I can't promise anything. Jim On Thu, Oct 5, 2017 at 5:28 PM, Hemant Sain <hemantsain55 at gmail.com> wrote: > Hey Jim, > I'm trying to perform a RFM analysis on a dataset, > I'm able to get the results using the auto_rfm function but i want to define > my own breaks values for RFM, > when i tried to define my own breaks i got the identical result i.e 111 for...
2017 Oct 13
0
How to define proper breaks in RFM analysis
...method. > > Well, maybe not so much on that last one, Petr. Normalization should not affect the classification based on quartiles. It doesn't change the ordering of variables. > > -- > David. > >> >> Cheers >> Petr >> >> From: Hemant Sain [mailto:hemantsain55 at gmail.com] >> Sent: Friday, October 13, 2017 8:51 AM >> To: PIKAL Petr <petr.pikal at precheza.cz> >> Cc: r-help mailing list <r-help at r-project.org> >> Subject: Re: [R] How to define proper breaks in RFM analysis >> >> Hey, >> i want to de...
2017 Oct 09
0
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'm getting all the rows as NA in Cscore and almost most of the observation in R and F and M are also NA. what can be the reason for this. also suggest me the appropriate solution. On 9 October 2017 at 15:51, Jim Lemon <drjimlemon at gmail.com> wrote: > Hi Hemant, > Here is an example that might answer your questions. Please don't run > previous code as it might not work.
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)
Hi Hemant, Here is an example that might answer your questions. Please don't run previous code as it might not work. I define the break values as arguments to the function (rbreaks,fbreaks,mbreaks) If you want the breaks to work, make sure that they cover the range of the input values, otherwise you get NAs. # expects a three (or more) column data frame where # column 1 is customer ID,
2017 Oct 13
0
How to define proper breaks in RFM analysis
..., what = what, sep = sep, quote = quote, dec = dec, : line 115 did not have 6 elements What is ?ideal interval? can you define it? Should it be such to provide eqal number of observations? Or maybe you could normalise your values and use quartile method. Cheers Petr From: Hemant Sain [mailto:hemantsain55 at gmail.com] Sent: Friday, October 13, 2017 8:51 AM To: PIKAL Petr <petr.pikal at precheza.cz> Cc: r-help mailing list <r-help at r-project.org> Subject: Re: [R] How to define proper breaks in RFM analysis Hey, i want to define 3 ideal breaks (bin) for each variable one of those varia...
2017 Aug 30
3
Dataframe Manipulation
Hey PIKAL, It's not a homework neithe that is the real dataset i have signer NDA for my company so that i can share the original data file, Actually I'm working on a market basket analysis task but not able to convert my existing data table to appropriate format so that i can apply Apriori algorithm using R, and this is very important me to get it done because I'm an intern and if i
2017 Nov 01
1
Creating Tag
i want to tag categories to its menuname. i have a csv containing menu item name and in other csv i have a column containing some strings, i want to pick that strings from categories and look into menu items if any menu item containing that string i want to create a new column next to menu item name flagged as 1 otherwise 0 and the only condition is once a menu item flagged as 1 i don't need
2017 Oct 13
2
How to define proper breaks in RFM analysis
Hey, i want to define 3 ideal breaks (bin) for each variable 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
2017 Oct 12
3
How to define proper breaks in RFM analysis
Hello, I'm working on RFM analysis and i wanted to define my own breaks but my frequency distribution is not normally distributed so when I'm using quartile its not giving the optimal results. so I'm looking for a better approach where i can define breaks dynamically because after visualization i can do it easily but i want to apply this model so that it can automatically define the