[R] Fwd: how to check the accuracy for maxent ?

2013-10-08 Thread Vineet Shukla
I was going through this example of maxent (Maximun entropy package) use: http://cran.r-project.org/web/packages/maxent/maxent.pdf # LOAD LIBRARY library(maxent) # READ THE DATA, PREPARE THE CORPUS, and CREATE THE MATRIX data <- read.csv(system.file("data/NYTimes.csv.gz",package="maxent")) corpus

[R] how to check the accuracy for maxent ?

2013-10-08 Thread Vineet Shukla
I was going through this example of maxent use: http://cran.r-project.org/web/packages/maxent/maxent.pdf # LOAD LIBRARY library(maxent) # READ THE DATA, PREPARE THE CORPUS, and CREATE THE MATRIX data <- read.csv(system.file("data/NYTimes.csv.gz",package="maxent")) corpus <- Corpus(VectorSource(da

Re: [R] How to find frequent sequences.

2012-07-13 Thread Vineet Shukla
gt; On Thu, Jul 12, 2012 at 03:51:54PM -0500, Vineet Shukla wrote: > > I have independent event sequences for example as follows : > > > > Independent event sequence 1 : A , B , C , D > > Independent event sequence 2 : A, C , B > > Independent event sequence 3 :D, A,

[R] How to find frequent sequences.

2012-07-12 Thread Vineet Shukla
I have independent event sequences for example as follows : Independent event sequence 1 : A , B , C , D Independent event sequence 2 : A, C , B Independent event sequence 3 :D, A, B, X,Y, Z Independent event sequence 4 :C,A,A,B Independent event sequence 5 :B,A,D I want to able to find

Re: [R] finding events in a time duration.

2011-09-07 Thread Vineet Shukla
Controllers) .OO#. .OO#. rocks...1k > --- > > Sent from my phone. Please excuse my brevity. > > Vineet Shukla wrote: > >> Hi, >> >> Premises: I have a database which contain the list of events and their time >> stamps (This is a Unix time stamps) >> >> Wh

[R] finding events in a time duration.

2011-09-07 Thread Vineet Shukla
Hi, Premises: I have a database which contain the list of events and their time stamps (This is a Unix time stamps) What I want to do : I want know how much is the maximum occurrence of this in any a time period of 7 days or does a event occur es more than "N" (say 5) times in a period of 7 days